Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates and attaches a component of the requested type.

API: scripting
Project: Inno.Scene
Scope: Runtime

public TComponent InnoEngine.Scene.GameObject.AddComponent<TComponent>() where TComponent : InnoEngine.Scene.GameComponent

Type parameter TComponent: Concrete component type.

The attached component.