Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Removes and destroys a specific attached component.

API: scripting
Project: Inno.Scene
Scope: Runtime

public bool InnoEngine.Scene.GameObject.RemoveComponent(InnoEngine.Scene.GameComponent component)

Parameter component: GameComponent instance to remove.

true when the component was attached and removed.

Exception T:System.InvalidOperationException: Thrown when attempting to remove the mandatory transform.