Home Game Development Cocos Creator 3.6.0 nonetheless have situation with nodes instatiated and added to the mother or father in editor with @executeInEditMode – Cocos Creator

Cocos Creator 3.6.0 nonetheless have situation with nodes instatiated and added to the mother or father in editor with @executeInEditMode – Cocos Creator

0
Cocos Creator 3.6.0 nonetheless have situation with nodes instatiated and added to the mother or father in editor with @executeInEditMode – Cocos Creator

[ad_1]

Hi all, I see numerous error in console after resave or reopen the scene in what I attempted to instantiate nodes from prefab and added them to the scene utilizing @executeInEditMode(). The error says these nodes have the identical reference keys and in editor they merge into one node.

I see this useful very helpful, may or not it’s mounted?
For instance, generate some random world within the editor and immediately see the end result, and once you’re happy, simply save this prefab and switch off @executeInEditMode()

Or you have got some node with differing kinds, you may change sort in drop drown checklist and immediately generate some new view inside utilizing instantiate prefab

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here