コード例 #1
0
        public void DeleteWord()
        {
#if UNITY_EDITOR
            webWordsEraser = ScriptableObject.CreateInstance <WordEraser>();
            webWordsEraser.Init(this);
#endif
        }
コード例 #2
0
 public void ShowEditorWindow()
 {
     window = (WordEraser)GetWindow(typeof(WordEraser));
     window.ShowUtility();
     window.titleContent = new GUIContent("Delete word");
 }