FlatRedBall_Spriter.SpriterObjectCollection.Destroy C# (CSharp) 메소드

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void
        public void Destroy()
        {
            if (SpriterEntities == null) return;

            foreach (var spriterEntity in SpriterEntities.Where(spriterEntity => spriterEntity.Value != null))
            {
                spriterEntity.Value.Destroy();
            }
            SpriteManager.RemovePositionedObject(this);
        }