@Alekhine wrote:
Hi, I'm looking for the best practice to declare variabels that shouldn't be visible in editor.
I'm aware of the 'visible' property in vars declared inside properties scope of cc.component, like this:properties: { internalArray: { visible:false, type:[], }, }
However this is a pretty lengthy declaration for a simple array.
I also know of the static vars declared outside class/component scope that are not visible in editor, however I'm not looking to declare static variabels.
is there another way to declare an internal array(that is an array that shouldnt be visible in the editor)?
Posts: 4
Participants: 2