ChallengeGameView.cs 599 B

12345678910111213141516171819202122232425262728293031323334
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. using UnityEngine.SceneManagement;
  6. public class ChallengeGameView : MonoBehaviour
  7. {
  8. public Text arrows;
  9. public static ChallengeGameView ins;
  10. void Start()
  11. {
  12. ins = this;
  13. }
  14. public void Shoot()
  15. {
  16. ArmBow.ins.ADS_fire();
  17. }
  18. public void SetBasePoint()
  19. {
  20. }
  21. public void back()
  22. {
  23. AudioMgr.ins.PlayBtn();
  24. // SceneManager.LoadScene("Home", LoadSceneMode.Single);
  25. Application.Quit();
  26. }
  27. }