GKComponentSystem<TComponent>.RemoveComponent 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
RemoveComponent(GKEntity) |
Removes, from this component system, any components from |
RemoveComponent(TComponent) |
Removes the specified |
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