FerretEngine/src/Core/Entity.cs
/// <summary>
/// Actually adds a component dequeued from the <see cref="_destroyQueue"/>.
/// </summary>
/// <param name="component"></param>
Actually adds a component dequeued from the .
Actually adds a component dequeued from the .
private void RemoveComponent(Component component)
        {
            _components.Remove(component);
            if (component is Collider)
            {
                Collider col = (Collider) component;
                _colliders.Remove(col);
                if (this.Scene != null)
                    this.Scene.Space.Remove(col);
            }
        }
private void RemoveComponent ( Component component ) { _components . Remove ( component ) ; if ( component is Collider ) { Collider col = ( Collider ) component ; _colliders . Remove ( col ) ; if ( this . Scene != null ) this . Scene . Space . Remove ( col ) ; } }
Actually adds a component dequeued from the .
Actually adds a component dequeued from the .
component
Component
None