コード例 #1
0
        static void OpenDataTypeEditor()
        {
            RTSDataTypeEditor win = GetWindow <RTSDataTypeEditor>("RTS Data Types");

            win.minSize = new Vector2(400f, 300f);
            win.UpdateDataTypes();
            win.Show();
        }
コード例 #2
0
 void OnDisable()
 {
     s_instance = null;
 }
コード例 #3
0
 void OnEnable()
 {
     s_instance = this;
 }