/// <summary> /// Called by framework. Do not call directly. /// </summary> public override void OnDestroy() { if (_texture != null) { _texture.Destroy(); } _texture = null; }