insert<T> method

EntityCommands insert<T>(
  1. T component
)

Queues inserting component of type T onto entity.

Implementation

EntityCommands insert<T>(T component) {
  _commands.insert<T>(entity, component);
  return this;
}