// 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(); }
// Use this for initialization void Start() { menuPanel.SetActive(true); howToPanel.SetActive(false); CreditPanel.SetActive(false); }
public void OnBackClicked() { menuPanel.SetActive(true); howToPanel.SetActive(false); CreditPanel.SetActive(false); }