public static void Init( ) { BrickEditor brickEditor = GetWindow <BrickEditor> (true, "磚塊編輯器"); brickEditor.minSize = new Vector2(300, 0); }
void Start() { instance = GetComponent <BrickEditor>(); m_editBrick = null; m_isEdit = false; }