示例#1
0
    public void leftButton()
    {
        if (screen == PresentScreen.storeMode)
        {
            screen = PresentScreen.preparationMode;
        }


        else if (screen == PresentScreen.preparationMode)
        {
            screen = PresentScreen.storeMode;
        }
    }
示例#2
0
 public void switchStore()
 {
     screen = PresentScreen.storeMode;
 }
示例#3
0
 public void switchPrepare()
 {
     screen = PresentScreen.preparationMode;
 }
示例#4
0
 // Use this for initialization
 void Start()
 {
     _storeMode       = GameObject.FindGameObjectWithTag("storeFront");
     _preparationMode = GameObject.FindGameObjectWithTag("prepArea");
     screen           = PresentScreen.storeMode;
 }