共用方式為


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
屬性

適用於