Exemplo n.º 1
0
        partial void RemoveProjSpecific()
        {
            Sprite?.Remove();
            Sprite = null;

            DamagedSprite?.Remove();
            DamagedSprite = null;

            _deformSprite?.Sprite?.Remove();
            _deformSprite = null;

            DecorativeSprites.ForEach(s => s.Remove());
            ConditionalSprites.Clear();

            ConditionalSprites.ForEach(s => s.Remove());
            ConditionalSprites.Clear();

            LightSource?.Remove();
            LightSource = null;

            OtherWearables?.ForEach(w => w.Sprite.Remove());
            OtherWearables = null;

            HuskSprite?.Sprite.Remove();
            HuskSprite = null;

            HerpesSprite?.Sprite.Remove();
            HerpesSprite = null;
        }
Exemplo n.º 2
0
        partial void RemoveProjSpecific()
        {
            Sprite?.Remove();
            Sprite = null;

            DamagedSprite?.Remove();
            DamagedSprite = null;

            DeformSprite?.Sprite?.Remove();
            DeformSprite = null;

            LightSource?.Remove();
            LightSource = null;

            OtherWearables?.ForEach(w => w.Sprite.Remove());
            OtherWearables = null;
        }