コード例 #1
0
    private void Start()

    {
        ProgressBarUi.SetActive(false);
        WrldProgressBarUi.SetActive(false);
        GameObject.FindGameObjectWithTag("GameController").GetComponent <ProgressBar>().hasEnteredCaptureZone = false;
    }
コード例 #2
0
 private void OnTriggerExit(Collider other)
 {
     if (other.tag == "Player")
     {
         GameObject.FindGameObjectWithTag("GameController").GetComponent <ProgressBar>().hasEnteredCaptureZone = false;
     }
     ProgressBarUi.SetActive(false);
     WrldProgressBarUi.SetActive(false);
 }