Compartir a través de


GKEntity.GetComponent Método

Definición

Sobrecargas

GetComponent(Class)
GetComponent(Type)

Recupera el elemento en Components del especificado 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

Parámetros

componentClass
Class

Devoluciones

Atributos

Se aplica a

GetComponent(Type)

Recupera el elemento en Components del especificado componentType.

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

Parámetros

componentType
Type

Devoluciones

Se aplica a