Exemple #1
0
        public static void Update()
        {
#if UNITY_EDITOR
            if (m_tool != UnityEditor.Tools.current)
            {
                if (ToolChanged != null)
                {
                    ToolChanged();
                }
                m_tool = UnityEditor.Tools.current;
            }
#endif
        }
Exemple #2
0
 static UnityEditorToolsListener()
 {
     m_tool = UnityEditor.Tools.current;
 }