// Use this for initialization void Start() { FoodRegisterButton.onClick.AddListener(FoodRegisterButtonClicked); BuildButton.onClick.AddListener(BuildButtonClicked); AchevementButton.onClick.AddListener(AchevementButtonClicked); StatusButton.onClick.AddListener(StatusButtonClicked); FoodRegisterPageIsShowing = false; FoodRegisterPage.SetActive(FoodRegisterPageIsShowing); BuildPageIsShowing = false; BuildPage.SetActive(BuildPageIsShowing); AchevementPageIsShowing = false; AchevementPage.SetActive(AchevementPageIsShowing); StatusPageIsShowing = false; StatusPage.SetActive(StatusPageIsShowing); }