public void Destroy() { #if DEBUG if (behaviourGmo) { GameObject.Destroy(behaviourGmo); } if (renderTextureBuffer != null) { renderTextureBuffer.Dispose(); } renderTextureBuffer = null; #endif }