Esempio n. 1
0
    private void Start()

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