oboard

oboard

https://oboard.eu.org/
github
email
tg_channel
medium
twitter
bilibili
steam_profiles
follow

2023-03-03 Cocos Creator 3.7.1 Error [Scene] Each script can have at most one Component.

Cocos Creator 3.7.1 Error

[Scene] Each script can have at most one Component.

Error
I searched through all my code but couldn't find the cause of the error.

Finally, I discovered that
@ccclass
I had written two @ccclass annotations in one of my components.

This resulted in two Components.

Solution: Just delete one.#

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.