Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: xunxun on May 22, 2014, 12:55:39 AM

Title: ActionSection bug
Post by: xunxun 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
Title: Re: ActionSection bug
Post by: Alex Chouls 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!