Beispiel #1
0
        private void OnDisable()
        {
            if (this.target == null)
            {
                Manager.OnEditorTargetsDeleted();
            }

            ToolManager.OnTargetEditorDisable(this.targets);
        }
Beispiel #2
0
        private void OnDisable()
        {
            if (this.target == null)
            {
                if (IsTargetMostProbablyDeleted())
                {
                    Manager.OnEditorTargetsDeleted();
                    OnTargetsDeleted();
                }
            }

            ToolManager.OnTargetEditorDisable(this.targets);

            m_targetType        = null;
            m_targetGameObjects = null;
            m_numTargetGameObjectsTargetComponents = 0;
        }
 private void OnDisable()
 {
     ToolManager.OnTargetEditorDisable(this.targets);
 }