SetAll() публичный Метод

public SetAll ( bool b ) : void
b bool
Результат void
Пример #1
0
    public void CreateMask()
    {
        mask.SetAll(false);

        // Initialize the ECSInterface's mask from each attached Component
        var components = gameObject.GetComponents <Component>();

        foreach (var component in components)
        {
            mask[ComponentIDs.Get(component.GetType())] = true;
        }
    }