Ejemplo n.º 1
0
 private void Start()
 {
     jumpComponent = player.GetAbility <PlayerJumpComponent>();
     wallJump      = player.GetAbility <WallJumpAbility>();
     airBoost      = player.GetAbility <AirBoostAbility>();
 }
Ejemplo n.º 2
0
 public JumpButton(Player player, IO.PlayerController controller) : base(player, controller)
 {
     jumpComponent = player.GetAbility <PlayerJumpComponent>();
     wallJump      = player.GetAbility <WallJumpAbility>();
     airBoost      = player.GetAbility <AirBoostAbility>();
 }