playMaker

Author Topic: FsmOwner gameObject value  (Read 646 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
FsmOwner gameObject value
« on: December 29, 2011, 03:47:11 AM »
Hi,

 To avoid having to write everytime:

Code: [Select]
GameObject go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value;
could we not have OwnerDefaultOption.getGameObject()

just to prevent duplication across :)

 Bye,

 Jean