コード例 #1
0
ファイル: D2dDestructible.cs プロジェクト: zxx2112/TankBattle
        public void Clear()
        {
            ready              = false;
            alphaSharpness     = 0.0f;
            alphaTex           = D2dHelper.Destroy(alphaTex);
            alphaData          = null;
            alphaWidth         = 0;
            alphaHeight        = 0;
            alphaCount         = 0;
            originalAlphaCount = 0;

            AlphaModified.Clear();

            NotifyRebuilt();
        }
コード例 #2
0
        public void Clear()
        {
            for (var i = Pixels.Count - 1; i >= 0; i--)
            {
                D2dPool <D2dSplitPixel> .Despawn(Pixels[i]);
            }

            Data = null;

            Rect.Clear();

            Pixels.Clear();
        }
コード例 #3
0
 public void Clear()
 {
     Rect.Clear();
 }