playMaker

Author Topic: ActionSection bug  (Read 2129 times)

xunxun

  • Junior Playmaker
  • **
  • Posts: 53
ActionSection bug
« on: May 22, 2014, 12:55:39 AM »
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 22, 2014, 12:57:25 AM by xunxun »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: ActionSection bug
« Reply #1 on: June 04, 2014, 09: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!