Skip to content

Instance

IliasHDZ edited this page Apr 21, 2020 · 2 revisions

abstract Instance

Every object in Carbon is inherited from the Instance. abstract means that it cannot be created.

Properties

string ClassName

This shows from which class an object is.

string Name

This is used to identify an object.

Instance Parent

This is the object above this object in the hierarchy.

Functions

( Functions are run like this: object:FunctionName() )

void Destroy()

This deletes all the objects children and removes itself from the hierarchy.

Instance[] GetChildren()

This return a table of objects that are below this object.