void Start() { #region instanciando _playerAnimation = GetComponent <PlayerAnimation>(); _playerInput = GetComponent <PlayerInput>(); _rigidbody2D = GetComponent <Rigidbody2D>(); _playerSpriteHandler = GetComponent <PlayerSpriteHandler>(); _playerWallMovement = GetComponent <PlayerWallMovement>(); _playerJump = GetComponent <PlayerJump>(); #endregion instanciando }
void Start() { #region Instanciando _hasExtraJump = true; _playerAnimation = GetComponent <PlayerAnimation>(); _playerInput = GetComponent <PlayerInput>(); _rigidbody2D = GetComponent <Rigidbody2D>(); _playerSpriteHandler = GetComponent <PlayerSpriteHandler>(); _playerAttack = GetComponent <PlayerAttack>(); _playerShoot = GetComponent <PlayerShoot>(); _playerWallMovement = GetComponent <PlayerWallMovement>(); #endregion }
void Start() { _playerSpriteHandler = GetComponent <PlayerSpriteHandler>(); _playerInput = GetComponent <PlayerInput>(); }