Beispiel #1
0
        public void AddWord()
        {
#if UNITY_EDITOR
            webWordsAppender = ScriptableObject.CreateInstance <WordsAppender>();
            webWordsAppender.Init(this);
#endif
        }
Beispiel #2
0
 public void ShowEditorWindow()
 {
     window = (WordsAppender)GetWindow(typeof(WordsAppender));
     window.ShowUtility();
     window.titleContent = new GUIContent("Add new word");
 }