Esempio n. 1
0
        /// <inheritdoc />
        public override void OnDestroy()
        {
            _debugDrawData.Dispose();
            FlaxEngine.Object.Destroy(ref SelectionOutline);

            base.OnDestroy();
        }
Esempio n. 2
0
        /// <inheritdoc />
        public override void OnDestroy()
        {
            if (IsDisposing)
            {
                return;
            }

            DisposeModes();
            _debugDrawData.Dispose();
            FlaxEngine.Object.Destroy(ref SelectionOutline);
            FlaxEngine.Object.Destroy(ref EditorPrimitives);

            base.OnDestroy();
        }