EntityCommands class final
Fluent deferred commands targeting one entity.
Constructors
- EntityCommands(Commands _commands, Entity entity)
Properties
Methods
-
despawn(
) → void - Queues despawning entity.
-
insert<
T> (T component) → EntityCommands -
Queues inserting
componentof typeTonto entity. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove<
T> () → EntityCommands -
Queues removing the component of type
Tfrom entity. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited