Synced
GameObject.ResetComponent
Section titled “GameObject.ResetComponent”
- Restores an attached component to the defaults defined by its optional Reset message.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public void Inno.Scene.GameObject.ResetComponent(Inno.Scene.GameComponent component)Parameters
Section titled “Parameters”Parameter component: GameComponent instance to reset.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when component is null.
Exception T:System.InvalidOperationException: Thrown when the object is invalid or the component is not attached to it.