Beispiel #1
0
 public void OnPointerClick(PointerEventData eventData)
 {
     if (m_text != null && m_text.gameObject.activeSelf)
     {
         IRuntimeEditor editor = IOC.Resolve <IRuntimeEditor>();
         editor.CreateOrActivateWindow(RuntimeWindowType.Console.ToString());
     }
 }
Beispiel #2
0
        private void OnSaveAsClick()
        {
            if (Editor.IsPlaying)
            {
                m_wm.MessageBox("Save Scene", "Scene can not be saved in playmode");
                return;
            }

            if (m_project == null)
            {
                Debug.LogError("Project Manager is null");
                return;
            }

            m_editor.CreateOrActivateWindow("SaveScene");
        }