World.Set_T_().md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.World

World.Set() Method

Sets the value of the component of type T to its default value on the current World.
This method is not thread safe.

public void Set<T>();

Type parameters

T

The type of the component.

Exceptions

System.InvalidOperationException
Max number of component of type T reached.

Contents

  1. 0.1DefaultEcs.World
  2. 1World.Set() Method