Exemplo n.º 1
0
 public void AcquireTarget(GameObject hit)
 {
     objectHit   = hit;
     targetRange = objectHit.GetComponent <EnemyController>().targetRange;
     targetCanvas.SetActive(false);
     targetCanvas.SetActive(true);
     targetHandler.AcquireTarget(hit);
     StartCoroutine("CheckIfTargetLocked");
 }