Beispiel #1
0
        private void Start()
        {
            groundLayer = LayerMask.NameToLayer("Ground");

            anim = GetComponentInChildren <Animator>();
            sfx  = GetComponentInChildren <PlayerSoundEffects>();
        }
 protected void Start()
 {
     anim       = GetComponentInChildren <Animator>();
     controller = GetComponent <PlayerController>();
     sfx        = GetComponentInChildren <PlayerSoundEffects>();
 }