Method ForAll
ForAll(Type)
This rule will add the same variant to all entities with this component type (i.e. both parent and children a.k.a. regardless of hierarchy). Note: It is not recommended to serialize child entities as it is relatively slow to serialize them!
Declaration
public static DefaultVariantSystemBase.Rule ForAll(Type variantForBoth)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | variantForBoth |
Returns
| Type | Description |
|---|---|
| DefaultVariantSystemBase.Rule |