ChallengeGameView.cs 687 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. void OnDestroy()
  15. {
  16. ins = null;
  17. }
  18. public void Shoot()
  19. {
  20. ArmBow.ins.ADS_fire();
  21. }
  22. public void SetBasePoint()
  23. {
  24. BluetoothD.ins.SetBasePoint();
  25. }
  26. public void back()
  27. {
  28. AudioMgr.ins.PlayBtn();
  29. // SceneManager.LoadScene("Home", LoadSceneMode.Single);
  30. Application.Quit();
  31. }
  32. }