// Use this for initialization
    void Start()
    {
        start       = new StartPanel(StartPanel);
        credit      = new CreditPanel(CreditPanel);
        instruction = new InstructionPanel(InstructionPanel);

        start.animator       = StartPanel.GetComponent <Animator>();
        credit.animator      = CreditPanel.GetComponent <Animator>();
        instruction.animator = InstructionPanel.GetComponent <Animator>();

        start.Start();
        credit.Start();
        instruction.Start();
    }
Example #2
0
 // Use this for initialization
 void Start()
 {
     menuPanel.SetActive(true);
     howToPanel.SetActive(false);
     CreditPanel.SetActive(false);
 }
Example #3
0
 public void OnBackClicked()
 {
     menuPanel.SetActive(true);
     howToPanel.SetActive(false);
     CreditPanel.SetActive(false);
 }