GKEntity.AddComponent(GKComponent) 方法

定义

添加到componentComponents

[Foundation.Export("addComponent:")]
public virtual void AddComponent (GameplayKit.GKComponent component);
abstract member AddComponent : GameplayKit.GKComponent -> unit
override this.AddComponent : GameplayKit.GKComponent -> unit

参数

component
GKComponent
属性

适用于