Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: PET on August 06, 2016, 07:01:10 PM

Title: Change the values of an Instantiated Prefab
Post by: PET on August 06, 2016, 07:01:10 PM
Hello there,

I'm using Corgi Engine 2D. A pretty cool 2D platformer engine.

The way this engine works is ... the player controller (an actual Corgi :D ) get's instantiated from the prefab at the start of the game.

This Prefab has a couple of scripts on it. I want to change the value from 1 variable in a script. I was able to "Drag and Drop" the script into the FSM & find the actual value, and specify that new value, but of course that doesn't work.

So what's the normal way to approach this?

Thank You