Ejemplo n.º 1
0
 private void Awake()
 {
     healthLabile = GetComponent <Text>();
     fighter      = GameObject.FindWithTag("Player").GetComponent <Fighter>();
 }
Ejemplo n.º 2
0
 public void Launch(Transform output, Fighter attacker, Vector3 targetPosition)
 {
     LaunchProjectile(output, attacker, targetPosition);
 }
Ejemplo n.º 3
0
 private void Awake()
 {
     target = GameObject.FindWithTag("Player").GetComponent <Fighter>();
 }