Beispiel #1
0
    private void Awake()
    {
        playerTarget = GameObject.FindGameObjectWithTag("Player").transform;
        anim         = GetComponent <Animator>();

        playerHealthMine = playerTarget.GetComponent <PlayerHealthMine>();
    }
 void Awake()
 {
     playerHealthMine = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerHealthMine>();
 }