Instance.detach

Shuts down an attached component and removes it from this component list. If you plan to remove all components, call shutdown instead.

  1. bool detach()
  2. bool detach(ComponentInfo info)
    class Instance
    bool
    detach

Return Value

Type: bool

true if the component was loaded and is now unloaded and removed or false if the component wasn't found.

Meta