public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Jump.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Slash.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSlash; @Slash.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSlash; @Slash.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSlash; @Debug.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnDebug; @Debug.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnDebug; @Debug.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnDebug; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Slash.started += instance.OnSlash; @Slash.performed += instance.OnSlash; @Slash.canceled += instance.OnSlash; @Debug.started += instance.OnDebug; @Debug.performed += instance.OnDebug; @Debug.canceled += instance.OnDebug; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Jump.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Hit.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHit; @Hit.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHit; @Hit.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHit; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @Hit.started += instance.OnHit; @Hit.performed += instance.OnHit; @Hit.canceled += instance.OnHit; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @MoveV.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMoveV; @MoveV.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMoveV; @MoveV.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMoveV; @MoveH.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMoveH; @MoveH.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMoveH; @MoveH.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMoveH; @Attack.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Attack.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Attack.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Defence.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnDefence; @Defence.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnDefence; @Defence.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnDefence; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @MoveV.started += instance.OnMoveV; @MoveV.performed += instance.OnMoveV; @MoveV.canceled += instance.OnMoveV; @MoveH.started += instance.OnMoveH; @MoveH.performed += instance.OnMoveH; @MoveH.canceled += instance.OnMoveH; @Attack.started += instance.OnAttack; @Attack.performed += instance.OnAttack; @Attack.canceled += instance.OnAttack; @Defence.started += instance.OnDefence; @Defence.performed += instance.OnDefence; @Defence.canceled += instance.OnDefence; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Interact.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Interact.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Interact.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Sprint.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSprint; @Sprint.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSprint; @Sprint.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSprint; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Interact.started += instance.OnInteract; @Interact.performed += instance.OnInteract; @Interact.canceled += instance.OnInteract; @Sprint.started += instance.OnSprint; @Sprint.performed += instance.OnSprint; @Sprint.canceled += instance.OnSprint; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Fire.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnFire; @Fire.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnFire; @Fire.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnFire; @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Rotate.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRotate; @Rotate.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRotate; @Rotate.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRotate; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Fire.started += instance.OnFire; @Fire.performed += instance.OnFire; @Fire.canceled += instance.OnFire; @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Rotate.started += instance.OnRotate; @Rotate.performed += instance.OnRotate; @Rotate.canceled += instance.OnRotate; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Boost.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnBoost; @Boost.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnBoost; @Boost.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnBoost; @Action.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAction; @Action.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAction; @Action.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAction; @Select.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSelect; @Select.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSelect; @Select.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSelect; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Boost.started += instance.OnBoost; @Boost.performed += instance.OnBoost; @Boost.canceled += instance.OnBoost; @Action.started += instance.OnAction; @Action.performed += instance.OnAction; @Action.canceled += instance.OnAction; @Select.started += instance.OnSelect; @Select.performed += instance.OnSelect; @Select.canceled += instance.OnSelect; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @HorizontalAxis.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHorizontalAxis; @HorizontalAxis.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHorizontalAxis; @HorizontalAxis.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHorizontalAxis; @VerticalAxis.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnVerticalAxis; @VerticalAxis.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnVerticalAxis; @VerticalAxis.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnVerticalAxis; @Up_Fire.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnUp_Fire; @Up_Fire.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnUp_Fire; @Up_Fire.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnUp_Fire; @Eject.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnEject; @Eject.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnEject; @Eject.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnEject; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @HorizontalAxis.started += instance.OnHorizontalAxis; @HorizontalAxis.performed += instance.OnHorizontalAxis; @HorizontalAxis.canceled += instance.OnHorizontalAxis; @VerticalAxis.started += instance.OnVerticalAxis; @VerticalAxis.performed += instance.OnVerticalAxis; @VerticalAxis.canceled += instance.OnVerticalAxis; @Up_Fire.started += instance.OnUp_Fire; @Up_Fire.performed += instance.OnUp_Fire; @Up_Fire.canceled += instance.OnUp_Fire; @Eject.started += instance.OnEject; @Eject.performed += instance.OnEject; @Eject.canceled += instance.OnEject; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Shoot.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnShoot; @Shoot.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnShoot; @Shoot.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnShoot; @Reload.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnReload; @Reload.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnReload; @Reload.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnReload; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Shoot.started += instance.OnShoot; @Shoot.performed += instance.OnShoot; @Shoot.canceled += instance.OnShoot; @Reload.started += instance.OnReload; @Reload.performed += instance.OnReload; @Reload.canceled += instance.OnReload; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Action.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAction; @Action.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAction; @Action.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAction; @Release.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRelease; @Release.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRelease; @Release.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRelease; @Pause.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPause; @Pause.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPause; @Pause.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPause; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Action.started += instance.OnAction; @Action.performed += instance.OnAction; @Action.canceled += instance.OnAction; @Release.started += instance.OnRelease; @Release.performed += instance.OnRelease; @Release.canceled += instance.OnRelease; @Pause.started += instance.OnPause; @Pause.performed += instance.OnPause; @Pause.canceled += instance.OnPause; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Movement.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMovement; @Movement.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMovement; @Movement.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMovement; @Jump.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Dash.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnDash; @Dash.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnDash; @Dash.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnDash; @WallGrab.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnWallGrab; @WallGrab.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnWallGrab; @WallGrab.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnWallGrab; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Movement.started += instance.OnMovement; @Movement.performed += instance.OnMovement; @Movement.canceled += instance.OnMovement; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @Dash.started += instance.OnDash; @Dash.performed += instance.OnDash; @Dash.canceled += instance.OnDash; @WallGrab.started += instance.OnWallGrab; @WallGrab.performed += instance.OnWallGrab; @WallGrab.canceled += instance.OnWallGrab; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Ability1.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility1; @Ability1.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility1; @Ability1.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility1; @Ability2.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility2; @Ability2.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility2; @Ability2.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility2; @Ability3.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility3; @Ability3.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility3; @Ability3.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility3; @Ability4.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility4; @Ability4.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility4; @Ability4.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAbility4; @Evolve.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnEvolve; @Evolve.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnEvolve; @Evolve.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnEvolve; @Pause.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPause; @Pause.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPause; @Pause.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPause; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Ability1.started += instance.OnAbility1; @Ability1.performed += instance.OnAbility1; @Ability1.canceled += instance.OnAbility1; @Ability2.started += instance.OnAbility2; @Ability2.performed += instance.OnAbility2; @Ability2.canceled += instance.OnAbility2; @Ability3.started += instance.OnAbility3; @Ability3.performed += instance.OnAbility3; @Ability3.canceled += instance.OnAbility3; @Ability4.started += instance.OnAbility4; @Ability4.performed += instance.OnAbility4; @Ability4.canceled += instance.OnAbility4; @Evolve.started += instance.OnEvolve; @Evolve.performed += instance.OnEvolve; @Evolve.canceled += instance.OnEvolve; @Pause.started += instance.OnPause; @Pause.performed += instance.OnPause; @Pause.canceled += instance.OnPause; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @RightStick.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRightStick; @RightStick.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRightStick; @RightStick.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRightStick; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @RightStick.started += instance.OnRightStick; @RightStick.performed += instance.OnRightStick; @RightStick.canceled += instance.OnRightStick; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @ActionButton.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnActionButton; @ActionButton.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnActionButton; @ActionButton.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnActionButton; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @ActionButton.started += instance.OnActionButton; @ActionButton.performed += instance.OnActionButton; @ActionButton.canceled += instance.OnActionButton; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Attach.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttach; @Attach.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttach; @Attach.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttach; @Chop.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChop; @Chop.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChop; @Chop.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChop; @Charge.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnCharge; @Charge.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnCharge; @Charge.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnCharge; @Rotate.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRotate; @Rotate.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRotate; @Rotate.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnRotate; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Attach.started += instance.OnAttach; @Attach.performed += instance.OnAttach; @Attach.canceled += instance.OnAttach; @Chop.started += instance.OnChop; @Chop.performed += instance.OnChop; @Chop.canceled += instance.OnChop; @Charge.started += instance.OnCharge; @Charge.performed += instance.OnCharge; @Charge.canceled += instance.OnCharge; @Rotate.started += instance.OnRotate; @Rotate.performed += instance.OnRotate; @Rotate.canceled += instance.OnRotate; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @ChargePress.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChargePress; @ChargePress.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChargePress; @ChargePress.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChargePress; @ChargeRelease.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChargeRelease; @ChargeRelease.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChargeRelease; @ChargeRelease.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChargeRelease; @Turning.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnTurning; @Turning.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnTurning; @Turning.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnTurning; @HornPress.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHornPress; @HornPress.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHornPress; @HornPress.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHornPress; @HornRelease.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHornRelease; @HornRelease.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHornRelease; @HornRelease.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHornRelease; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @ChargePress.started += instance.OnChargePress; @ChargePress.performed += instance.OnChargePress; @ChargePress.canceled += instance.OnChargePress; @ChargeRelease.started += instance.OnChargeRelease; @ChargeRelease.performed += instance.OnChargeRelease; @ChargeRelease.canceled += instance.OnChargeRelease; @Turning.started += instance.OnTurning; @Turning.performed += instance.OnTurning; @Turning.canceled += instance.OnTurning; @HornPress.started += instance.OnHornPress; @HornPress.performed += instance.OnHornPress; @HornPress.canceled += instance.OnHornPress; @HornRelease.started += instance.OnHornRelease; @HornRelease.performed += instance.OnHornRelease; @HornRelease.canceled += instance.OnHornRelease; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Jump.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Crouch.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnCrouch; @Crouch.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnCrouch; @Crouch.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnCrouch; @Kick.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnKick; @Kick.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnKick; @Kick.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnKick; @Attack.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Attack.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Attack.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @Crouch.started += instance.OnCrouch; @Crouch.performed += instance.OnCrouch; @Crouch.canceled += instance.OnCrouch; @Kick.started += instance.OnKick; @Kick.performed += instance.OnKick; @Kick.canceled += instance.OnKick; @Attack.started += instance.OnAttack; @Attack.performed += instance.OnAttack; @Attack.canceled += instance.OnAttack; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Attack.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Attack.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Attack.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Interact.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Interact.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Interact.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Agility.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAgility; @Agility.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAgility; @Agility.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAgility; @Special.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSpecial; @Special.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSpecial; @Special.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnSpecial; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Attack.started += instance.OnAttack; @Attack.performed += instance.OnAttack; @Attack.canceled += instance.OnAttack; @Interact.started += instance.OnInteract; @Interact.performed += instance.OnInteract; @Interact.canceled += instance.OnInteract; @Agility.started += instance.OnAgility; @Agility.performed += instance.OnAgility; @Agility.canceled += instance.OnAgility; @Special.started += instance.OnSpecial; @Special.performed += instance.OnSpecial; @Special.canceled += instance.OnSpecial; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @LeftRight.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLeftRight; @LeftRight.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLeftRight; @LeftRight.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLeftRight; @Jump.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Attack.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Attack.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @Attack.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnAttack; @UpDown.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnUpDown; @UpDown.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnUpDown; @UpDown.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnUpDown; @Interact.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Interact.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Interact.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @LeftRight.started += instance.OnLeftRight; @LeftRight.performed += instance.OnLeftRight; @LeftRight.canceled += instance.OnLeftRight; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @Attack.started += instance.OnAttack; @Attack.performed += instance.OnAttack; @Attack.canceled += instance.OnAttack; @UpDown.started += instance.OnUpDown; @UpDown.performed += instance.OnUpDown; @UpDown.canceled += instance.OnUpDown; @Interact.started += instance.OnInteract; @Interact.performed += instance.OnInteract; @Interact.canceled += instance.OnInteract; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMove; @Interact.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Interact.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Interact.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnInteract; @Fire.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnFire; @Fire.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnFire; @Fire.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnFire; @ChooseTools.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChooseTools; @ChooseTools.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChooseTools; @ChooseTools.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnChooseTools; @Jump.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnJump; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Interact.started += instance.OnInteract; @Interact.performed += instance.OnInteract; @Interact.canceled += instance.OnInteract; @Fire.started += instance.OnFire; @Fire.performed += instance.OnFire; @Fire.canceled += instance.OnFire; @ChooseTools.started += instance.OnChooseTools; @ChooseTools.performed += instance.OnChooseTools; @ChooseTools.canceled += instance.OnChooseTools; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Movement.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMovement; @Movement.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMovement; @Movement.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMovement; @Looking.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLooking; @Looking.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLooking; @Looking.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLooking; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Movement.started += instance.OnMovement; @Movement.performed += instance.OnMovement; @Movement.canceled += instance.OnMovement; @Looking.started += instance.OnLooking; @Looking.performed += instance.OnLooking; @Looking.canceled += instance.OnLooking; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { Movement.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMovement; Movement.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMovement; Movement.cancelled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMovement; Punches.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPunches; Punches.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPunches; Punches.cancelled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPunches; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { Movement.started += instance.OnMovement; Movement.performed += instance.OnMovement; Movement.cancelled += instance.OnMovement; Punches.started += instance.OnPunches; Punches.performed += instance.OnPunches; Punches.cancelled += instance.OnPunches; } }
public void SetCallbacks(IPlayer1Actions instance) { if (m_Wrapper.m_Player1ActionsCallbackInterface != null) { @Horizontal.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHorizontal; @Horizontal.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHorizontal; @Horizontal.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHorizontal; @Vertical.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnVertical; @Vertical.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnVertical; @Vertical.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnVertical; @Horizontal2.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHorizontal2; @Horizontal2.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHorizontal2; @Horizontal2.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnHorizontal2; @Vertical2.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnVertical2; @Vertical2.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnVertical2; @Vertical2.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnVertical2; @Boost.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnBoost; @Boost.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnBoost; @Boost.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnBoost; @Warp.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnWarp; @Warp.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnWarp; @Warp.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnWarp; @Break.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnBreak; @Break.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnBreak; @Break.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnBreak; @LockOn.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLockOn; @LockOn.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLockOn; @LockOn.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLockOn; @Look.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLook; @Look.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLook; @Look.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnLook; @Plus.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPlus; @Plus.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPlus; @Plus.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnPlus; @Minus.started -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMinus; @Minus.performed -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMinus; @Minus.canceled -= m_Wrapper.m_Player1ActionsCallbackInterface.OnMinus; } m_Wrapper.m_Player1ActionsCallbackInterface = instance; if (instance != null) { @Horizontal.started += instance.OnHorizontal; @Horizontal.performed += instance.OnHorizontal; @Horizontal.canceled += instance.OnHorizontal; @Vertical.started += instance.OnVertical; @Vertical.performed += instance.OnVertical; @Vertical.canceled += instance.OnVertical; @Horizontal2.started += instance.OnHorizontal2; @Horizontal2.performed += instance.OnHorizontal2; @Horizontal2.canceled += instance.OnHorizontal2; @Vertical2.started += instance.OnVertical2; @Vertical2.performed += instance.OnVertical2; @Vertical2.canceled += instance.OnVertical2; @Boost.started += instance.OnBoost; @Boost.performed += instance.OnBoost; @Boost.canceled += instance.OnBoost; @Warp.started += instance.OnWarp; @Warp.performed += instance.OnWarp; @Warp.canceled += instance.OnWarp; @Break.started += instance.OnBreak; @Break.performed += instance.OnBreak; @Break.canceled += instance.OnBreak; @LockOn.started += instance.OnLockOn; @LockOn.performed += instance.OnLockOn; @LockOn.canceled += instance.OnLockOn; @Look.started += instance.OnLook; @Look.performed += instance.OnLook; @Look.canceled += instance.OnLook; @Plus.started += instance.OnPlus; @Plus.performed += instance.OnPlus; @Plus.canceled += instance.OnPlus; @Minus.started += instance.OnMinus; @Minus.performed += instance.OnMinus; @Minus.canceled += instance.OnMinus; } }