Clear() public method

public Clear ( ) : void
return void
Esempio n. 1
0
        public void Dispose()
        {
            Collab.instance.StateChanged -= OnCollabStateChanged;
            UnityConnect.instance.StateChanged -= OnUnityConnectStateChanged;
            UnityConnect.instance.UserStateChanged -= OnUnityConnectUserStateChanged;

            if (m_CollabButton != null)
                m_CollabButton.Clear();
        }
Esempio n. 2
0
        public void Dispose()
        {
            Collab.instance.StateChanged           -= OnCollabStateChanged;
            UnityConnect.instance.StateChanged     -= OnUnityConnectStateChanged;
            UnityConnect.instance.UserStateChanged -= OnUnityConnectUserStateChanged;
            PlasticWindow.OnNotificationUpdated    -= OnPlasticNotificationUpdated;

            if (m_CollabButton != null)
            {
                m_CollabButton.Clear();
            }
        }
Esempio n. 3
0
        public void Dispose()
        {
            Collab.instance.StateChanged            -= OnCollabStateChanged;
            UnityConnect.instance.StateChanged      -= OnUnityConnectStateChanged;
            UnityConnect.instance.UserStateChanged  -= OnUnityConnectUserStateChanged;
            CollabVersionControl.GetChangesStarted  -= OnGetChangesStart;
            CollabVersionControl.GetChangesFinished -= OnGetChangesFinish;

            if (m_CollabButton != null)
            {
                m_CollabButton.Clear();
            }
        }
Esempio n. 4
0
        protected override void OnDisable()
        {
            base.OnDisable();
            EditorApplication.modifierKeysChanged -= Repaint;
            Undo.undoRedoPerformed                 -= OnSelectionChange;
            UnityConnect.instance.StateChanged     -= OnUnityConnectStateChanged;
            UnityConnect.instance.UserStateChanged -= OnUnityConnectUserStateChanged;

            Collab.instance.StateChanged -= OnCollabStateChanged;

            if (m_CollabButton != null)
            {
                m_CollabButton.Clear();
            }
        }