playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Orioriori

Pages: [1]
1
Hello,
for example if I do this:
      [ArrayEditor(VariableType.String)]
        public FsmArray Texts;

Then in the inspector, I can assign a named variable to this.

But if I do the same with

      [ArrayEditor(VariableType.Object)]
        public FsmArray Texts;

I can't.

I basically want to have a variable that can use named variable array of object type with sprite objects.

I'm able to do this:
        [ObjectType(typeof(Sprite))]
        public FsmObject[] Sprites;

but this is not ideal as this way each individual sprite array element can be a named variable but not the whole array.

Thanks. 


Pages: [1]