Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     health_script       = GetComponent <WolfHealth>();
     healt_max           = health_script.GetHealthMax();
     healtBar.fillAmount = 1;
     canevas.SetActive(false);
     if (camera == null)
     {
         camera = GameObject.FindGameObjectWithTag("MainCamera");
     }
 }