void CreateInstance() { if (instance == null) { instance = this; } }
static void OpwnWindow() { FoilageEditor window = (FoilageEditor)GetWindow <FoilageEditor>(); // width, height window.minSize = new Vector2(350, 600); window.Show(); }