MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / IsAttached

Method IsAttached

include/RavEngine/ScriptComponent.hpp:60–62  ·  view source on GitHub ↗

@return true if the current ScriptComponent is attached to an Entity, false otherwise. */

Source from the content-addressed store, hash-verified

58 @return true if the current ScriptComponent is attached to an Entity, false otherwise.
59 */
60 bool IsAttached() {
61 return !getOwner().isNull();
62 }
63
64 /**
65 Shortcut to get the transform component of the attached entity

Callers

nothing calls this directly

Calls 2

getOwnerFunction · 0.85
isNullMethod · 0.45

Tested by

no test coverage detected