Returns the component of supplied type if the node has one attached, null if it doesn't. You can also get component in the node by passing in the name of the script. metadescription ReturnsComponent Defined incocos2d/core/components/CCComponent.js:359 ...
which in fact is only a third of the third person singular, and a pronoun if it is excused at all and as such only standing in for der heilige ghost, and not a person has yet been seen who has seen a neuter singular walking p (Critical Lesson One, as of the Destruction of the No...
Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} cocos / cocos-engine Public Notifications You must be signed in to change notification settings Fork 2k Star 8.5k ...
Actual object destruction will delayed until before rendering. After destroy, this CCObject is not usable any more. You can use cc.isValid(obj) to check whether the object is destroyed before accessing it. _destruct Clear all references in the instance. NOTE: this method will not clear the...
destroy Actual object destruction will delayed until before rendering. _destruct Clear all references in the instance. _onPreDestroy Called before the object being destroyed. _serialize The customized serialization for this object. _deserialize Init this object from the custom serialized data. Details ...