Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Tries to get the first attached component assignable to the requested type.

API: engine
Project: Inno.Scene

public bool Inno.Scene.GameObject.TryGetComponent<TComponent>(out TComponent? component) where TComponent : Inno.Scene.GameComponent

Type parameter TComponent: Requested component type.

Parameter component: Matching component when found.

true when a matching component exists.