示例#1
0
 void CreateInstance()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
示例#2
0
    static void OpwnWindow()
    {
        FoilageEditor window = (FoilageEditor)GetWindow <FoilageEditor>();

        // width, height
        window.minSize = new Vector2(350, 600);
        window.Show();
    }