adding public variables in the details

hey :blush:
is was wondering, if there was a way to add public variables of the same type in the details panel.
I want to have several platforms appearing when i activate one switch.
so right now i am making one public variable of the type platform, which i can connect in the details of the switch in the level with a door and then calling an event of the door when the switch is acitvated.
so now i would just make like 3 public platform vars in the switch to control more doors, but i want this switch to be usable for any amount of platforms, like however many platforms the level designers want to control, so is there a way to not hard code that number? like in unity (pic attached)


have a nice day!
nyra

Make it an array of platform references. Then you can add more in the details view :slight_smile:

thank you, that was easy!! :heart_eyes: didnt expect that, as i know arrays as things which have a set size and if you want to change it u have to use other things like linked lists or so :open_mouth: