Ejemplo n.º 1
0
 private void Start()
 {
     player = GameObject.FindWithTag("Player");
     ph     = player.GetComponent <PlayerHealth>();
     st     = player.GetComponent <SwordThings>();
 }
 // Start is called before the first frame update
 void Start()
 {
     swordAttackScript = GetComponentInParent <SwordThings>();
 }