OptionaladdEvent that runs when host game obj is added to scene.
OptionaldestroyEvent that runs when obj is removed from scene.
OptionaldrawEvent that runs every frame after update.
OptionaldrawDraw debug info in inspect mode
OptionalfixedEvent that runs at a fixed frame rate.
OptionalidComponent ID (if left out won't be treated as a comp).
OptionalinspectDebug info for inspect mode.
flexbox CSS properties.
OptionalrequireWhat other comps this comp depends on.
OptionalupdateEvent that runs every frame.
insert the object into its parent layout tree (if it has one). called automatically when the object is added.
Optionalindex: numberindex to insert the object into. defaults to appending.
force a layout calculation and updates all children. parents will not be effacted
drop the object from the layout tree (if it's in one)
insert a child Yoga node. called automatically when a child game object is added.
Optionalindex: numberindex to insert the object into. defaults to appending.
update the object size and position. used internally.
base flex container component interface