コード例 #1
0
        private void Dispose(bool disposing)
        {
            if (mDisposed)
            {
                return;
            }

            if (disposing)
            {
                mGrassMesh.Dispose();
                mGrassTexture.Dispose();
            }

            mDisposed = true;
        }
コード例 #2
0
        private void Dispose(bool disposing)
        {
            if (mDisposed)
            {
                return;
            }

            if (disposing)
            {
                mSkyDome.Dispose();
                mTint.Dispose();
                mSunMorph.Dispose();
                mMoon.Dispose();
            }

            mDisposed = true;
        }