private void Awake()
 {
     _playerDeathController = GetComponent <PlayerDeathController>();
 }
Exemplo n.º 2
0
 private void Awake()
 {
     _playerController      = GetComponent <PlayerController>();
     _playerDeathController = GetComponentInChildren <PlayerDeathController>();
     _rigidBody             = GetComponent <Rigidbody2D>();
 }