Düzenle

Aracılığıyla paylaş


GKComponentSystem<TComponent>.RemoveComponent Method

Definition

Overloads

RemoveComponent(GKEntity)

Removes, from this component system, any components from entity that are managed by this component system.

RemoveComponent(TComponent)

Removes the specified component from this component system.

RemoveComponent(GKEntity)

Removes, from this component system, any components from entity that are managed by this component system.

[Foundation.Export("removeComponentWithEntity:")]
public virtual void RemoveComponent (GameplayKit.GKEntity entity);
abstract member RemoveComponent : GameplayKit.GKEntity -> unit
override this.RemoveComponent : GameplayKit.GKEntity -> unit

Parameters

entity
GKEntity

The entity to search for components to remove.

Attributes

Applies to

RemoveComponent(TComponent)

Removes the specified component from this component system.

[Foundation.Export("removeComponent:")]
public virtual void RemoveComponent (TComponent component);
abstract member RemoveComponent : 'Component -> unit
override this.RemoveComponent : 'Component -> unit

Parameters

component
TComponent

The component to remove.

Attributes

Applies to