Condividi tramite


GKEntity.GetComponent Metodo

Definizione

Overload

GetComponent(Class)
GetComponent(Type)

Recupera l'elemento in Components dell'oggetto specificato componentType.

GetComponent(Class)

[Foundation.Export("componentForClass:")]
protected virtual GameplayKit.GKComponent GetComponent (ObjCRuntime.Class componentClass);
abstract member GetComponent : ObjCRuntime.Class -> GameplayKit.GKComponent
override this.GetComponent : ObjCRuntime.Class -> GameplayKit.GKComponent

Parametri

componentClass
Class

Restituisce

Attributi

Si applica a

GetComponent(Type)

Recupera l'elemento in Components dell'oggetto specificato componentType.

public GameplayKit.GKComponent GetComponent (Type componentType);
member this.GetComponent : Type -> GameplayKit.GKComponent

Parametri

componentType
Type

Restituisce

Si applica a