playMaker

Author Topic: ActionSection bug  (Read 1054 times)

xunxun

  • Junior Playmaker
  • **
  • Posts: 53
    • View Profile
ActionSection bug
« on: May 21, 2014, 09:55:39 PM »
Code: [Select]
[ActionSection ("Character Status")]
private FsmGameObject targetAffect; // <<< bug here
public FsmInt BaseHPmax;
public FsmInt BaseSPmax;

ActionSection starts with private FsmGameObject. Then the section disappears in State. If you move the "private FsmGameObject" to the end of section then it works as normal.
note: Tested on Unity 4.3.4 (MAC)
PlayMaker 1.7.7f6
« Last Edit: May 21, 2014, 09:57:25 PM by xunxun »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3632
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: ActionSection bug
« Reply #1 on: June 04, 2014, 06:34:51 AM »
ActionSection is actually an attribute that must be used on a field. Currently Playmaker doesn't look for attributes on private fields, so the behavior you're seeing is expected - but I'll document it on the wiki!