playMaker

Author Topic: FsmArray Not Displaying  (Read 1662 times)

fatihkran

  • Playmaker Newbie
  • *
  • Posts: 4
FsmArray Not Displaying
« on: October 09, 2019, 11:25:00 AM »
Hello,

I have same two fsmarray which's type is enum in two different custom actions but same Enum array in variables shows up in one action but does not show up in other action.

Here the code i used:

[ArrayEditor(VariableType.Enum, elementName: "InputCommands")]
public FsmArray InputCommands;

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: FsmArray Not Displaying
« Reply #1 on: October 10, 2019, 02:31:11 AM »
Hi,

 Can you paste the full action? so that I can test, thanks.

Bye,

 Jean

fatihkran

  • Playmaker Newbie
  • *
  • Posts: 4
Re: FsmArray Not Displaying
« Reply #2 on: October 10, 2019, 12:57:45 PM »
   
Code: [Select]
[ActionCategory(ActionCategory.CharacterController)]
    public class CharacterInputGetter : FsmStateAction
    {
        [ArrayEditor(VariableType.Enum, elementName:
        "InputCommands")]
        public FsmArray InputCommands;
       
         public override void OnEnter()
        {
             Finish();
        }

    }

Same thing happens with an empty action like this. Variable i want to use shows up after creating new variable via dropdown list in action field.

Edit:
This happens after selecting enum type of array in variables
« Last Edit: October 11, 2019, 06:31:16 AM by djaydino »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: FsmArray Not Displaying
« Reply #3 on: October 11, 2019, 02:50:14 AM »
Hi,

 yes, something is odd with this, I'll bump Alex on this. Thanks for reporting.

Bye,

 Jean