Monday, October 24, 2022
HomeGame DevelopmentChange zIndex for layering in cocos creator - Cocos Creator

Change zIndex for layering in cocos creator – Cocos Creator


I want to vary the thing layering dynamically at run time. Principally, I must replace the layer of the thing so I can obtain layering like in Unity at runtime. We used Zindex to do this, however it’s not working. Dynmically so any have instance or easy venture utilizing zIndex or put up share with me.


Which model of creator are you utilizing?You’ll be able to attempt to use setSiblingIndex as a substitute of zIndex.

2.4.10 model .setSiblingIndex no i didn’t tried but. you probably have any examples please share with me.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments