componentAdded method

  1. @protected
  2. @mustCallSuper
void componentAdded(
  1. GameObject object,
  2. Component component
)

Called when component comes into the world on object: put on it while it's in the world, or with it when it's added (each of an added tree's components, parents first). After the engine has it, before a behaviour loads. Not for a model's parts, read from the model.

Implementation

@protected
@mustCallSuper
void componentAdded(GameObject object, Component component) {}