You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
507 B

  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine.UI;
  4. using UnityEngine;
  5. public class InGameNotificaion : MonoBehaviour
  6. {
  7. public GameObject BlockMenu;
  8. public GameObject WelcomeMenu;
  9. //On Awake
  10. private void Awake ()
  11. {
  12. WelcomeMenu.SetActive (true);
  13. BlockMenu.SetActive (false);
  14. }
  15. //Welcome Menu Options
  16. public void OnPlayClick ()
  17. {
  18. WelcomeMenu.SetActive (false);
  19. }
  20. //Block Menu Options
  21. public void OnContinueClick ()
  22. {
  23. BlockMenu.SetActive (false);
  24. }
  25. }