playMaker

Author Topic: Custom Action, Prefab, GameObject Field  (Read 1588 times)

atmuc

  • Playmaker Newbie
  • *
  • Posts: 26
Custom Action, Prefab, GameObject Field
« on: December 17, 2013, 09:58:41 AM »
i add FSM to my game object. i made this game object Prefab. i have custom action in this FSM and it has game object field. on prefab, i cannot set this field with scene object. how can i set a scene object there without setting my scene object as prefab?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Custom Action, Prefab, GameObject Field
« Reply #1 on: December 17, 2013, 10:28:55 AM »
Code: [Select]
public FsmOwnerDefault someGameObject;

or

Code: [Select]
public FsmGameObject someGameObject;
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D