playMaker

Author Topic: prefab connections  (Read 1942 times)

richardh

  • Junior Playmaker
  • **
  • Posts: 97
prefab connections
« on: January 11, 2015, 09:29:59 AM »
What's the correct way to instance an object within a FSM prefab? My FSM's work fine until I create them as a prefab and then I have to reset the gameObects etc. when I use the prefab. I understand WHY this is happening but I'd like to know how I'd setup the FSM so that when I create the prefab it will still work (or at least not throw up errors once it's a prefab.

thanks

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: prefab connections
« Reply #1 on: September 23, 2015, 10:23:44 PM »
bump!!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: prefab connections
« Reply #2 on: September 24, 2015, 01:00:54 AM »
Hi,
try using "find game object" and save it in a variable or set the target gameobject in a global variable