Nez.Portable/ECS/InternalUtils/ComponentList.cs
/// <summary>
/// removes all components from the component list immediately
/// </summary>
removes all components from the component list immediately
removes all components from the component list immediately
public void removeAllComponents()
        {
            for (var i = 0; i < _components.length; i++)
                handleRemove(_components.buffer[i]);
            _components.clear();
            _updatableComponents.clear();
            _componentsToAdd.Clear();
            _componentsToRemove.Clear();
        }
public void removeAllComponents ( ) { for ( var i = 0 ; i < _components . length ; i ++ ) handleRemove ( _components . buffer [ i ] ) ; _components . clear ( ) ; _updatableComponents . clear ( ) ; _componentsToAdd . Clear ( ) ; _componentsToRemove . Clear ( ) ; }
removes all components from the component list immediately
removes all components from the component list immediately