Exemple #1
0
        protected override void OnDetach()
        {
            if (renderToTexture != null)
            {
                renderToTexture.Destroy();
            }

            base.OnDetach();
        }