Author Topic: Change the values of an Instantiated Prefab  (Read 576 times)


  • Full Member
  • ***
  • Posts: 137
    • View Profile
    • GamerPET
Change the values of an Instantiated Prefab
« on: August 06, 2016, 04: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
Technical Game Designer