Abstract
Abstract
transformAbstract
worldAbstract
worldAbstract
worldAbstract
worldAbstract
worldAbstract
worldAbstract
worldAbstract
addAbstract
addAbstract
destroyAbstract
getAbstract
getAbstract
getAbstract
getAbstract
getAbstract
getAbstract
getAbstract
removeStatic
addAdd an object to parent and also ensure all components are being registered
Optional
context: ContextStatic
addMoves a component to a new object
BEWARE: this does MOVE a component. If you want to add a new component use addNewComponent
Static
addAdds a new component to the provided object
object to add the component to
type of the component to add
if true, the component will be added and awake will be called immediately
Static
destroyStatic
destroyDestroys a object on all connected clients (if you are in a networked session)
object to destroy
Optional
context: ContextStatic
findStatic
findStatic
findStatic
foreachRun a callback for all components of the provided type on the provided object and its children (if recursive is true)
object to run the method on
callback to run on each component, "return undefined;" to continue and "return
if true, the method will be run on all children as well
the last return value of the callback
Static
getStatic
getStatic
getStatic
getStatic
getStatic
getStatic
getStatic
getStatic
instantiateCreates a new instance of the provided object (like cloning it including all components and children)
object to instantiate
options for the instantiation (e.g. with what parent, position, etc.)
Static
instantiateCreates a new instance of the provided object. The new instance will be created on all connected clients
object to instantiate
options for the instantiation
Static
invokeStatic
invokeStatic
isStatic
isStatic
isStatic
isStatic
iterateStatic
markStatic
moveStatic
removeStatic
removeStatic
setGenerated using TypeDoc
Mar 30, 2024
adds an existing component to this gameObject