Exemplo n.º 1
0
 private bool GetIsInRange()
 {
     Debug.Log(gameObject.name + ("Trying to check if in range"));
     return(Vector3.Distance(transform.position, target.transform.position) < currentWeaponConfig.WeaponRange());
 }