Compartilhar via


GKEntity.GetComponent Método

Definição

Sobrecargas

GetComponent(Class)
GetComponent(Type)

Recupera o elemento no Components do 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

Retornos

Atributos

Aplica-se a

GetComponent(Type)

Recupera o elemento no Components do especificado componentType.

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

Parâmetros

componentType
Type

Retornos

Aplica-se a