It’s like this.
Any solution for this?

Why don’t you just use cc.Node? You still have to decide if it’s a button or a Sprite when you use this array
It’s like this.
Any solution for this?

Why don’t you just use cc.Node? You still have to decide if it’s a button or a Sprite when you use this array