GKEntity.GetComponent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetComponent(Class) | |
GetComponent(Type) |
Retrieves the element in Components of the specified |
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
Parameters
- componentClass
- Class
Returns
- Attributes
Applies to
GetComponent(Type)
Retrieves the element in Components of the specified componentType
.
public GameplayKit.GKComponent GetComponent (Type componentType);
member this.GetComponent : Type -> GameplayKit.GKComponent
Parameters
- componentType
- Type