public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Movement.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMovement; @Movement.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMovement; @Movement.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMovement; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @LeftClick.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLeftClick; @LeftClick.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLeftClick; @LeftClick.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLeftClick; @RightClick.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRightClick; @RightClick.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRightClick; @RightClick.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRightClick; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = 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; @LeftClick.started += instance.OnLeftClick; @LeftClick.performed += instance.OnLeftClick; @LeftClick.canceled += instance.OnLeftClick; @RightClick.started += instance.OnRightClick; @RightClick.performed += instance.OnRightClick; @RightClick.canceled += instance.OnRightClick; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Newaction.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnNewaction; @Newaction.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnNewaction; @Newaction.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnNewaction; @Move.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Rotate.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRotate; @Rotate.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRotate; @Rotate.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRotate; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Newaction.started += instance.OnNewaction; @Newaction.performed += instance.OnNewaction; @Newaction.canceled += instance.OnNewaction; @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Rotate.started += instance.OnRotate; @Rotate.performed += instance.OnRotate; @Rotate.canceled += instance.OnRotate; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Look.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLook; @Look.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLook; @Look.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLook; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Move.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Look.started += instance.OnLook; @Look.performed += instance.OnLook; @Look.canceled += instance.OnLook; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Roll.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @LightAttack.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLightAttack; @LightAttack.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLightAttack; @LightAttack.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLightAttack; @HeavyAttack.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnHeavyAttack; @HeavyAttack.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnHeavyAttack; @HeavyAttack.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnHeavyAttack; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Roll.started += instance.OnRoll; @Roll.performed += instance.OnRoll; @Roll.canceled += instance.OnRoll; @LightAttack.started += instance.OnLightAttack; @LightAttack.performed += instance.OnLightAttack; @LightAttack.canceled += instance.OnLightAttack; @HeavyAttack.started += instance.OnHeavyAttack; @HeavyAttack.performed += instance.OnHeavyAttack; @HeavyAttack.canceled += instance.OnHeavyAttack; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @BasicAttack.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnBasicAttack; @BasicAttack.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnBasicAttack; @BasicAttack.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnBasicAttack; @ChargedAttack.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnChargedAttack; @ChargedAttack.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnChargedAttack; @ChargedAttack.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnChargedAttack; @PauseMenu.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnPauseMenu; @PauseMenu.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnPauseMenu; @PauseMenu.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnPauseMenu; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @BasicAttack.started += instance.OnBasicAttack; @BasicAttack.performed += instance.OnBasicAttack; @BasicAttack.canceled += instance.OnBasicAttack; @ChargedAttack.started += instance.OnChargedAttack; @ChargedAttack.performed += instance.OnChargedAttack; @ChargedAttack.canceled += instance.OnChargedAttack; @PauseMenu.started += instance.OnPauseMenu; @PauseMenu.performed += instance.OnPauseMenu; @PauseMenu.canceled += instance.OnPauseMenu; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Movement.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMovement; @Movement.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMovement; @Movement.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMovement; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Ability1.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnAbility1; @Ability1.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnAbility1; @Ability1.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnAbility1; @Ability2.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnAbility2; @Ability2.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnAbility2; @Ability2.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnAbility2; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = 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; @Ability1.started += instance.OnAbility1; @Ability1.performed += instance.OnAbility1; @Ability1.canceled += instance.OnAbility1; @Ability2.started += instance.OnAbility2; @Ability2.performed += instance.OnAbility2; @Ability2.canceled += instance.OnAbility2; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Shoot.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnShoot; @Shoot.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnShoot; @Shoot.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnShoot; @Pause.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnPause; @Pause.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnPause; @Pause.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnPause; @Look.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLook; @Look.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLook; @Look.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLook; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = 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; @Pause.started += instance.OnPause; @Pause.performed += instance.OnPause; @Pause.canceled += instance.OnPause; @Look.started += instance.OnLook; @Look.performed += instance.OnLook; @Look.canceled += instance.OnLook; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Roll.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @RB.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RT.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Roll.started += instance.OnRoll; @Roll.performed += instance.OnRoll; @Roll.canceled += instance.OnRoll; @RB.started += instance.OnRB; @RB.performed += instance.OnRB; @RB.canceled += instance.OnRB; @RT.started += instance.OnRT; @RT.performed += instance.OnRT; @RT.canceled += instance.OnRT; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Sprint.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnSprint; @Sprint.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnSprint; @Sprint.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnSprint; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @RB.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RT.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @Roll.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Pause.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnPause; @Pause.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnPause; @Pause.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnPause; @Exit.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnExit; @Exit.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnExit; @Exit.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnExit; @Continue.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnContinue; @Continue.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnContinue; @Continue.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnContinue; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Sprint.started += instance.OnSprint; @Sprint.performed += instance.OnSprint; @Sprint.canceled += instance.OnSprint; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @RB.started += instance.OnRB; @RB.performed += instance.OnRB; @RB.canceled += instance.OnRB; @RT.started += instance.OnRT; @RT.performed += instance.OnRT; @RT.canceled += instance.OnRT; @Roll.started += instance.OnRoll; @Roll.performed += instance.OnRoll; @Roll.canceled += instance.OnRoll; @Pause.started += instance.OnPause; @Pause.performed += instance.OnPause; @Pause.canceled += instance.OnPause; @Exit.started += instance.OnExit; @Exit.performed += instance.OnExit; @Exit.canceled += instance.OnExit; @Continue.started += instance.OnContinue; @Continue.performed += instance.OnContinue; @Continue.canceled += instance.OnContinue; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Roll.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @RB.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RT.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @A.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnA; @A.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnA; @A.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnA; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Inventory.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInventory; @Inventory.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInventory; @Inventory.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInventory; @Y.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnY; @Y.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnY; @Y.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnY; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Roll.started += instance.OnRoll; @Roll.performed += instance.OnRoll; @Roll.canceled += instance.OnRoll; @RB.started += instance.OnRB; @RB.performed += instance.OnRB; @RB.canceled += instance.OnRB; @RT.started += instance.OnRT; @RT.performed += instance.OnRT; @RT.canceled += instance.OnRT; @A.started += instance.OnA; @A.performed += instance.OnA; @A.canceled += instance.OnA; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @Inventory.started += instance.OnInventory; @Inventory.performed += instance.OnInventory; @Inventory.canceled += instance.OnInventory; @Y.started += instance.OnY; @Y.performed += instance.OnY; @Y.canceled += instance.OnY; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Rolling.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRolling; @Rolling.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRolling; @Rolling.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRolling; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Rolling.started += instance.OnRolling; @Rolling.performed += instance.OnRolling; @Rolling.canceled += instance.OnRolling; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Interact.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInteract; @Interact.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInteract; @Interact.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInteract; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Interact.started += instance.OnInteract; @Interact.performed += instance.OnInteract; @Interact.canceled += instance.OnInteract; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Roll.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @LeftClick.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLeftClick; @LeftClick.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLeftClick; @LeftClick.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLeftClick; @RightClick.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRightClick; @RightClick.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRightClick; @RightClick.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRightClick; @Interact.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInteract; @Interact.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInteract; @Interact.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInteract; @LockOn.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLockOn; @LockOn.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLockOn; @LockOn.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLockOn; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Roll.started += instance.OnRoll; @Roll.performed += instance.OnRoll; @Roll.canceled += instance.OnRoll; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @LeftClick.started += instance.OnLeftClick; @LeftClick.performed += instance.OnLeftClick; @LeftClick.canceled += instance.OnLeftClick; @RightClick.started += instance.OnRightClick; @RightClick.performed += instance.OnRightClick; @RightClick.canceled += instance.OnRightClick; @Interact.started += instance.OnInteract; @Interact.performed += instance.OnInteract; @Interact.canceled += instance.OnInteract; @LockOn.started += instance.OnLockOn; @LockOn.performed += instance.OnLockOn; @LockOn.canceled += instance.OnLockOn; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Look.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLook; @Look.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLook; @Look.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLook; @Fire.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnFire; @Fire.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnFire; @Fire.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnFire; @Crouch.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnCrouch; @Crouch.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnCrouch; @Crouch.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnCrouch; @Sprint.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnSprint; @Sprint.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnSprint; @Sprint.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnSprint; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Look.started += instance.OnLook; @Look.performed += instance.OnLook; @Look.canceled += instance.OnLook; @Fire.started += instance.OnFire; @Fire.performed += instance.OnFire; @Fire.canceled += instance.OnFire; @Crouch.started += instance.OnCrouch; @Crouch.performed += instance.OnCrouch; @Crouch.canceled += instance.OnCrouch; @Sprint.started += instance.OnSprint; @Sprint.performed += instance.OnSprint; @Sprint.canceled += instance.OnSprint; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMove; @Shoot.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnShoot; @Shoot.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnShoot; @Shoot.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnShoot; @OneWeapon.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnOneWeapon; @OneWeapon.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnOneWeapon; @OneWeapon.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnOneWeapon; @TwoWeapon.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnTwoWeapon; @TwoWeapon.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnTwoWeapon; @TwoWeapon.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnTwoWeapon; @ChangeWeapon.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnChangeWeapon; @ChangeWeapon.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnChangeWeapon; @ChangeWeapon.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnChangeWeapon; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = 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; @OneWeapon.started += instance.OnOneWeapon; @OneWeapon.performed += instance.OnOneWeapon; @OneWeapon.canceled += instance.OnOneWeapon; @TwoWeapon.started += instance.OnTwoWeapon; @TwoWeapon.performed += instance.OnTwoWeapon; @TwoWeapon.canceled += instance.OnTwoWeapon; @ChangeWeapon.started += instance.OnChangeWeapon; @ChangeWeapon.performed += instance.OnChangeWeapon; @ChangeWeapon.canceled += instance.OnChangeWeapon; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @AttackAction.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnAttackAction; @AttackAction.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnAttackAction; @AttackAction.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnAttackAction; @MovementAction.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMovementAction; @MovementAction.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMovementAction; @MovementAction.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnMovementAction; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @AttackAction.started += instance.OnAttackAction; @AttackAction.performed += instance.OnAttackAction; @AttackAction.canceled += instance.OnAttackAction; @MovementAction.started += instance.OnMovementAction; @MovementAction.performed += instance.OnMovementAction; @MovementAction.canceled += instance.OnMovementAction; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Roll.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @RB.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RT.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @DPadRight.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadRight; @DPadRight.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadRight; @DPadRight.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadRight; @DPadUp.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadUp; @DPadUp.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadUp; @DPadUp.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadUp; @DPadDown.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadDown; @DPadDown.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadDown; @DPadDown.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadDown; @DPadLeft.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadLeft; @DPadLeft.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadLeft; @DPadLeft.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnDPadLeft; @Interact.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInteract; @Interact.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInteract; @Interact.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInteract; @Inventory.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInventory; @Inventory.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInventory; @Inventory.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInventory; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Roll.started += instance.OnRoll; @Roll.performed += instance.OnRoll; @Roll.canceled += instance.OnRoll; @RB.started += instance.OnRB; @RB.performed += instance.OnRB; @RB.canceled += instance.OnRB; @RT.started += instance.OnRT; @RT.performed += instance.OnRT; @RT.canceled += instance.OnRT; @DPadRight.started += instance.OnDPadRight; @DPadRight.performed += instance.OnDPadRight; @DPadRight.canceled += instance.OnDPadRight; @DPadUp.started += instance.OnDPadUp; @DPadUp.performed += instance.OnDPadUp; @DPadUp.canceled += instance.OnDPadUp; @DPadDown.started += instance.OnDPadDown; @DPadDown.performed += instance.OnDPadDown; @DPadDown.canceled += instance.OnDPadDown; @DPadLeft.started += instance.OnDPadLeft; @DPadLeft.performed += instance.OnDPadLeft; @DPadLeft.canceled += instance.OnDPadLeft; @Interact.started += instance.OnInteract; @Interact.performed += instance.OnInteract; @Interact.canceled += instance.OnInteract; @Inventory.started += instance.OnInventory; @Inventory.performed += instance.OnInventory; @Inventory.canceled += instance.OnInventory; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; } }
public void SetCallbacks(IPlayerActionsActions instance) { if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null) { @Roll.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @Roll.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRoll; @RB.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RB.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRB; @RT.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @RT.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnRT; @Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump; @LockOn.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLockOn; @LockOn.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLockOn; @LockOn.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnLockOn; @A.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnA; @A.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnA; @A.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnA; @Inventory.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInventory; @Inventory.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInventory; @Inventory.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnInventory; @Shoot.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnShoot; @Shoot.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnShoot; @Shoot.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnShoot; @T.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnT; @T.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnT; @T.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnT; @X.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnX; @X.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnX; @X.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnX; @Help.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnHelp; @Help.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnHelp; @Help.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnHelp; } m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance; if (instance != null) { @Roll.started += instance.OnRoll; @Roll.performed += instance.OnRoll; @Roll.canceled += instance.OnRoll; @RB.started += instance.OnRB; @RB.performed += instance.OnRB; @RB.canceled += instance.OnRB; @RT.started += instance.OnRT; @RT.performed += instance.OnRT; @RT.canceled += instance.OnRT; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @LockOn.started += instance.OnLockOn; @LockOn.performed += instance.OnLockOn; @LockOn.canceled += instance.OnLockOn; @A.started += instance.OnA; @A.performed += instance.OnA; @A.canceled += instance.OnA; @Inventory.started += instance.OnInventory; @Inventory.performed += instance.OnInventory; @Inventory.canceled += instance.OnInventory; @Shoot.started += instance.OnShoot; @Shoot.performed += instance.OnShoot; @Shoot.canceled += instance.OnShoot; @T.started += instance.OnT; @T.performed += instance.OnT; @T.canceled += instance.OnT; @X.started += instance.OnX; @X.performed += instance.OnX; @X.canceled += instance.OnX; @Help.started += instance.OnHelp; @Help.performed += instance.OnHelp; @Help.canceled += instance.OnHelp; } }