public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Elevate.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnElevate; @Elevate.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnElevate; @Elevate.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnElevate; @Action.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAction; @Action.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAction; @Action.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAction; @PickUp.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPickUp; @PickUp.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPickUp; @PickUp.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPickUp; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Elevate.started += instance.OnElevate; @Elevate.performed += instance.OnElevate; @Elevate.canceled += instance.OnElevate; @Action.started += instance.OnAction; @Action.performed += instance.OnAction; @Action.canceled += instance.OnAction; @PickUp.started += instance.OnPickUp; @PickUp.performed += instance.OnPickUp; @PickUp.canceled += instance.OnPickUp; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; Look.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnLook; Look.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnLook; Look.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnLook; Fire.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnFire; Fire.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnFire; Fire.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnFire; } m_Wrapper.m_GamePlayActionsCallbackInterface = 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; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Movement.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Movement.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Movement.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @SwitchWeapon.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSwitchWeapon; @SwitchWeapon.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSwitchWeapon; @SwitchWeapon.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSwitchWeapon; @Fire.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnFire; @Fire.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnFire; @Fire.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnFire; @Pause.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPause; @Pause.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPause; @Pause.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPause; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Movement.started += instance.OnMovement; @Movement.performed += instance.OnMovement; @Movement.canceled += instance.OnMovement; @SwitchWeapon.started += instance.OnSwitchWeapon; @SwitchWeapon.performed += instance.OnSwitchWeapon; @SwitchWeapon.canceled += instance.OnSwitchWeapon; @Fire.started += instance.OnFire; @Fire.performed += instance.OnFire; @Fire.canceled += instance.OnFire; @Pause.started += instance.OnPause; @Pause.performed += instance.OnPause; @Pause.canceled += instance.OnPause; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Jump.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Attack.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; @Attack.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; @Attack.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; } m_Wrapper.m_GamePlayActionsCallbackInterface = 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; @Attack.started += instance.OnAttack; @Attack.performed += instance.OnAttack; @Attack.canceled += instance.OnAttack; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @MoveTowerCursor.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveTowerCursor; @MoveTowerCursor.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveTowerCursor; @MoveTowerCursor.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveTowerCursor; @TestAction.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTestAction; @TestAction.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTestAction; @TestAction.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTestAction; @MoveTargetCursor.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveTargetCursor; @MoveTargetCursor.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveTargetCursor; @MoveTargetCursor.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveTargetCursor; @NorthButton.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnNorthButton; @NorthButton.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnNorthButton; @NorthButton.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnNorthButton; @EastButton.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnEastButton; @EastButton.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnEastButton; @EastButton.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnEastButton; @SouthButton.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSouthButton; @SouthButton.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSouthButton; @SouthButton.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSouthButton; @WestButton.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnWestButton; @WestButton.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnWestButton; @WestButton.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnWestButton; @MovePlayer.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovePlayer; @MovePlayer.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovePlayer; @MovePlayer.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovePlayer; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @MoveTowerCursor.started += instance.OnMoveTowerCursor; @MoveTowerCursor.performed += instance.OnMoveTowerCursor; @MoveTowerCursor.canceled += instance.OnMoveTowerCursor; @TestAction.started += instance.OnTestAction; @TestAction.performed += instance.OnTestAction; @TestAction.canceled += instance.OnTestAction; @MoveTargetCursor.started += instance.OnMoveTargetCursor; @MoveTargetCursor.performed += instance.OnMoveTargetCursor; @MoveTargetCursor.canceled += instance.OnMoveTargetCursor; @NorthButton.started += instance.OnNorthButton; @NorthButton.performed += instance.OnNorthButton; @NorthButton.canceled += instance.OnNorthButton; @EastButton.started += instance.OnEastButton; @EastButton.performed += instance.OnEastButton; @EastButton.canceled += instance.OnEastButton; @SouthButton.started += instance.OnSouthButton; @SouthButton.performed += instance.OnSouthButton; @SouthButton.canceled += instance.OnSouthButton; @WestButton.started += instance.OnWestButton; @WestButton.performed += instance.OnWestButton; @WestButton.canceled += instance.OnWestButton; @MovePlayer.started += instance.OnMovePlayer; @MovePlayer.performed += instance.OnMovePlayer; @MovePlayer.canceled += instance.OnMovePlayer; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Aim.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAim; @Aim.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAim; @Aim.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAim; @PrimaryAction.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPrimaryAction; @PrimaryAction.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPrimaryAction; @PrimaryAction.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPrimaryAction; @SecondaryAction.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSecondaryAction; @SecondaryAction.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSecondaryAction; @SecondaryAction.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSecondaryAction; @TertiaryAction.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTertiaryAction; @TertiaryAction.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTertiaryAction; @TertiaryAction.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTertiaryAction; @Menu.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMenu; @Menu.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMenu; @Menu.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMenu; @PlaytestBind.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPlaytestBind; @PlaytestBind.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPlaytestBind; @PlaytestBind.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPlaytestBind; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Aim.started += instance.OnAim; @Aim.performed += instance.OnAim; @Aim.canceled += instance.OnAim; @PrimaryAction.started += instance.OnPrimaryAction; @PrimaryAction.performed += instance.OnPrimaryAction; @PrimaryAction.canceled += instance.OnPrimaryAction; @SecondaryAction.started += instance.OnSecondaryAction; @SecondaryAction.performed += instance.OnSecondaryAction; @SecondaryAction.canceled += instance.OnSecondaryAction; @TertiaryAction.started += instance.OnTertiaryAction; @TertiaryAction.performed += instance.OnTertiaryAction; @TertiaryAction.canceled += instance.OnTertiaryAction; @Menu.started += instance.OnMenu; @Menu.performed += instance.OnMenu; @Menu.canceled += instance.OnMenu; @PlaytestBind.started += instance.OnPlaytestBind; @PlaytestBind.performed += instance.OnPlaytestBind; @PlaytestBind.canceled += instance.OnPlaytestBind; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Movement.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Movement.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Movement.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Camera.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCamera; @Camera.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCamera; @Camera.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCamera; @Strife.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStrife; @Strife.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStrife; @Strife.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStrife; @Run.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRun; @Run.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRun; @Run.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRun; @Attack.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; @Attack.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; @Attack.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; @Jump.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Shoot.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnShoot; @Shoot.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnShoot; @Shoot.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnShoot; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Movement.started += instance.OnMovement; @Movement.performed += instance.OnMovement; @Movement.canceled += instance.OnMovement; @Camera.started += instance.OnCamera; @Camera.performed += instance.OnCamera; @Camera.canceled += instance.OnCamera; @Strife.started += instance.OnStrife; @Strife.performed += instance.OnStrife; @Strife.canceled += instance.OnStrife; @Run.started += instance.OnRun; @Run.performed += instance.OnRun; @Run.canceled += instance.OnRun; @Attack.started += instance.OnAttack; @Attack.performed += instance.OnAttack; @Attack.canceled += instance.OnAttack; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @Shoot.started += instance.OnShoot; @Shoot.performed += instance.OnShoot; @Shoot.canceled += instance.OnShoot; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { Movement.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; Movement.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; Movement.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; Jump.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; Jump.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; Jump.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; Climb.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnClimb; Climb.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnClimb; Climb.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnClimb; Skill1.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill1; Skill1.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill1; Skill1.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill1; Skill2.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill2; Skill2.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill2; Skill2.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill2; Skill3.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill3; Skill3.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill3; Skill3.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill3; Skill4.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill4; Skill4.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill4; Skill4.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSkill4; } m_Wrapper.m_GamePlayActionsCallbackInterface = 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; Climb.started += instance.OnClimb; Climb.performed += instance.OnClimb; Climb.canceled += instance.OnClimb; Skill1.started += instance.OnSkill1; Skill1.performed += instance.OnSkill1; Skill1.canceled += instance.OnSkill1; Skill2.started += instance.OnSkill2; Skill2.performed += instance.OnSkill2; Skill2.canceled += instance.OnSkill2; Skill3.started += instance.OnSkill3; Skill3.performed += instance.OnSkill3; Skill3.canceled += instance.OnSkill3; Skill4.started += instance.OnSkill4; Skill4.performed += instance.OnSkill4; Skill4.canceled += instance.OnSkill4; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Movement.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Movement.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Movement.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Movement.started += instance.OnMovement; @Movement.performed += instance.OnMovement; @Movement.canceled += instance.OnMovement; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Newaction.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnNewaction; @Newaction.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnNewaction; @Newaction.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnNewaction; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Newaction.started += instance.OnNewaction; @Newaction.performed += instance.OnNewaction; @Newaction.canceled += instance.OnNewaction; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Jump.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @CameraMove.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCameraMove; @CameraMove.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCameraMove; @CameraMove.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCameraMove; @RotationX.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotationX; @RotationX.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotationX; @RotationX.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotationX; @RotationY.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotationY; @RotationY.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotationY; @RotationY.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotationY; @Pause.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPause; @Pause.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPause; @Pause.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPause; } m_Wrapper.m_GamePlayActionsCallbackInterface = 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; @CameraMove.started += instance.OnCameraMove; @CameraMove.performed += instance.OnCameraMove; @CameraMove.canceled += instance.OnCameraMove; @RotationX.started += instance.OnRotationX; @RotationX.performed += instance.OnRotationX; @RotationX.canceled += instance.OnRotationX; @RotationY.started += instance.OnRotationY; @RotationY.performed += instance.OnRotationY; @RotationY.canceled += instance.OnRotationY; @Pause.started += instance.OnPause; @Pause.performed += instance.OnPause; @Pause.canceled += instance.OnPause; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Aim.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAim; @Aim.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAim; @Aim.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAim; @MouseAim.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseAim; @MouseAim.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseAim; @MouseAim.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseAim; @Shoot.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnShoot; @Shoot.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnShoot; @Shoot.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnShoot; @Dash.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDash; @Dash.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDash; @Dash.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDash; @Restart.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRestart; @Restart.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRestart; @Restart.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRestart; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Aim.started += instance.OnAim; @Aim.performed += instance.OnAim; @Aim.canceled += instance.OnAim; @MouseAim.started += instance.OnMouseAim; @MouseAim.performed += instance.OnMouseAim; @MouseAim.canceled += instance.OnMouseAim; @Shoot.started += instance.OnShoot; @Shoot.performed += instance.OnShoot; @Shoot.canceled += instance.OnShoot; @Dash.started += instance.OnDash; @Dash.performed += instance.OnDash; @Dash.canceled += instance.OnDash; @Restart.started += instance.OnRestart; @Restart.performed += instance.OnRestart; @Restart.canceled += instance.OnRestart; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Jump.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Attack.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; @Attack.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; @Attack.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; @EnterDoor.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnEnterDoor; @EnterDoor.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnEnterDoor; @EnterDoor.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnEnterDoor; @Esc.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnEsc; @Esc.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnEsc; @Esc.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnEsc; @ArrowHit.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnArrowHit; @ArrowHit.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnArrowHit; @ArrowHit.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnArrowHit; } m_Wrapper.m_GamePlayActionsCallbackInterface = 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; @Attack.started += instance.OnAttack; @Attack.performed += instance.OnAttack; @Attack.canceled += instance.OnAttack; @EnterDoor.started += instance.OnEnterDoor; @EnterDoor.performed += instance.OnEnterDoor; @EnterDoor.canceled += instance.OnEnterDoor; @Esc.started += instance.OnEsc; @Esc.performed += instance.OnEsc; @Esc.canceled += instance.OnEsc; @ArrowHit.started += instance.OnArrowHit; @ArrowHit.performed += instance.OnArrowHit; @ArrowHit.canceled += instance.OnArrowHit; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Rotate.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotate; @Rotate.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotate; @Rotate.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotate; @Dash.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDash; @Dash.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDash; @Dash.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDash; @ZoomInOut.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnZoomInOut; @ZoomInOut.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnZoomInOut; @ZoomInOut.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnZoomInOut; @SwordAttack.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSwordAttack; @SwordAttack.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSwordAttack; @SwordAttack.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSwordAttack; @GunAttack.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnGunAttack; @GunAttack.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnGunAttack; @GunAttack.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnGunAttack; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Rotate.started += instance.OnRotate; @Rotate.performed += instance.OnRotate; @Rotate.canceled += instance.OnRotate; @Dash.started += instance.OnDash; @Dash.performed += instance.OnDash; @Dash.canceled += instance.OnDash; @ZoomInOut.started += instance.OnZoomInOut; @ZoomInOut.performed += instance.OnZoomInOut; @ZoomInOut.canceled += instance.OnZoomInOut; @SwordAttack.started += instance.OnSwordAttack; @SwordAttack.performed += instance.OnSwordAttack; @SwordAttack.canceled += instance.OnSwordAttack; @GunAttack.started += instance.OnGunAttack; @GunAttack.performed += instance.OnGunAttack; @GunAttack.canceled += instance.OnGunAttack; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Aim.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAim; @Aim.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAim; @Aim.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAim; @Fire.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnFire; @Fire.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnFire; @Fire.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnFire; @Exit.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnExit; @Exit.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnExit; @Exit.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnExit; @AimMouse.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAimMouse; @AimMouse.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAimMouse; @AimMouse.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAimMouse; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Aim.started += instance.OnAim; @Aim.performed += instance.OnAim; @Aim.canceled += instance.OnAim; @Fire.started += instance.OnFire; @Fire.performed += instance.OnFire; @Fire.canceled += instance.OnFire; @Exit.started += instance.OnExit; @Exit.performed += instance.OnExit; @Exit.canceled += instance.OnExit; @AimMouse.started += instance.OnAimMouse; @AimMouse.performed += instance.OnAimMouse; @AimMouse.canceled += instance.OnAimMouse; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @RightClick.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRightClick; @RightClick.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRightClick; @RightClick.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRightClick; @AimAxis.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAimAxis; @AimAxis.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAimAxis; @AimAxis.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAimAxis; @SwitchCameras.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSwitchCameras; @SwitchCameras.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSwitchCameras; @SwitchCameras.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSwitchCameras; @Jump.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @WASD.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnWASD; @WASD.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnWASD; @WASD.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnWASD; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @RightClick.started += instance.OnRightClick; @RightClick.performed += instance.OnRightClick; @RightClick.canceled += instance.OnRightClick; @AimAxis.started += instance.OnAimAxis; @AimAxis.performed += instance.OnAimAxis; @AimAxis.canceled += instance.OnAimAxis; @SwitchCameras.started += instance.OnSwitchCameras; @SwitchCameras.performed += instance.OnSwitchCameras; @SwitchCameras.canceled += instance.OnSwitchCameras; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @WASD.started += instance.OnWASD; @WASD.performed += instance.OnWASD; @WASD.canceled += instance.OnWASD; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; Attack.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; Attack.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; Attack.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAttack; Jump.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; Jump.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; Jump.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; Roll.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRoll; Roll.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRoll; Roll.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRoll; Item.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnItem; Item.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnItem; Item.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnItem; } m_Wrapper.m_GamePlayActionsCallbackInterface = 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; Jump.started += instance.OnJump; Jump.performed += instance.OnJump; Jump.canceled += instance.OnJump; Roll.started += instance.OnRoll; Roll.performed += instance.OnRoll; Roll.canceled += instance.OnRoll; Item.started += instance.OnItem; Item.performed += instance.OnItem; Item.canceled += instance.OnItem; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Movement.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Movement.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Movement.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMovement; @Jump.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Jump.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Dash.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDash; @Dash.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDash; @Dash.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDash; @CrouchDown.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCrouchDown; @CrouchDown.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCrouchDown; @CrouchDown.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCrouchDown; @CrouchUp.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCrouchUp; @CrouchUp.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCrouchUp; @CrouchUp.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCrouchUp; } m_Wrapper.m_GamePlayActionsCallbackInterface = 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; @CrouchDown.started += instance.OnCrouchDown; @CrouchDown.performed += instance.OnCrouchDown; @CrouchDown.canceled += instance.OnCrouchDown; @CrouchUp.started += instance.OnCrouchUp; @CrouchUp.performed += instance.OnCrouchUp; @CrouchUp.canceled += instance.OnCrouchUp; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { Accelerate.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAccelerate; Accelerate.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAccelerate; Accelerate.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnAccelerate; RotateShip.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateShip; RotateShip.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateShip; RotateShip.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateShip; RotateLeft.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateLeft; RotateLeft.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateLeft; RotateLeft.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateLeft; RotateRight.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateRight; RotateRight.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateRight; RotateRight.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateRight; Decelerate.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDecelerate; Decelerate.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDecelerate; Decelerate.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnDecelerate; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { Accelerate.started += instance.OnAccelerate; Accelerate.performed += instance.OnAccelerate; Accelerate.canceled += instance.OnAccelerate; RotateShip.started += instance.OnRotateShip; RotateShip.performed += instance.OnRotateShip; RotateShip.canceled += instance.OnRotateShip; RotateLeft.started += instance.OnRotateLeft; RotateLeft.performed += instance.OnRotateLeft; RotateLeft.canceled += instance.OnRotateLeft; RotateRight.started += instance.OnRotateRight; RotateRight.performed += instance.OnRotateRight; RotateRight.canceled += instance.OnRotateRight; Decelerate.started += instance.OnDecelerate; Decelerate.performed += instance.OnDecelerate; Decelerate.canceled += instance.OnDecelerate; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @jump.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @jump.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @jump.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJump; @Rotate.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotate; @Rotate.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotate; @Rotate.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotate; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @jump.started += instance.OnJump; @jump.performed += instance.OnJump; @jump.canceled += instance.OnJump; @Rotate.started += instance.OnRotate; @Rotate.performed += instance.OnRotate; @Rotate.canceled += instance.OnRotate; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Arm.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnArm; @Arm.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnArm; @Arm.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnArm; @Loader.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnLoader; @Loader.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnLoader; @Loader.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnLoader; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Arm.started += instance.OnArm; @Arm.performed += instance.OnArm; @Arm.canceled += instance.OnArm; @Loader.started += instance.OnLoader; @Loader.performed += instance.OnLoader; @Loader.canceled += instance.OnLoader; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @MoveY.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveY; @MoveY.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveY; @MoveY.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveY; @MoveX.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveX; @MoveX.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveX; @MoveX.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveX; @Shoot.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnShoot; @Shoot.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnShoot; @Shoot.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnShoot; @Pick.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPick; @Pick.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPick; @Pick.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPick; @Throw.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnThrow; @Throw.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnThrow; @Throw.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnThrow; @Test.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTest; @Test.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTest; @Test.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTest; @Pause.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPause; @Pause.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPause; @Pause.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnPause; @UI_Up.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Up; @UI_Up.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Up; @UI_Up.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Up; @UI_Down.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Down; @UI_Down.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Down; @UI_Down.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Down; @UI_Left.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Left; @UI_Left.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Left; @UI_Left.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Left; @UI_Right.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Right; @UI_Right.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Right; @UI_Right.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnUI_Right; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @MoveY.started += instance.OnMoveY; @MoveY.performed += instance.OnMoveY; @MoveY.canceled += instance.OnMoveY; @MoveX.started += instance.OnMoveX; @MoveX.performed += instance.OnMoveX; @MoveX.canceled += instance.OnMoveX; @Shoot.started += instance.OnShoot; @Shoot.performed += instance.OnShoot; @Shoot.canceled += instance.OnShoot; @Pick.started += instance.OnPick; @Pick.performed += instance.OnPick; @Pick.canceled += instance.OnPick; @Throw.started += instance.OnThrow; @Throw.performed += instance.OnThrow; @Throw.canceled += instance.OnThrow; @Test.started += instance.OnTest; @Test.performed += instance.OnTest; @Test.canceled += instance.OnTest; @Pause.started += instance.OnPause; @Pause.performed += instance.OnPause; @Pause.canceled += instance.OnPause; @UI_Up.started += instance.OnUI_Up; @UI_Up.performed += instance.OnUI_Up; @UI_Up.canceled += instance.OnUI_Up; @UI_Down.started += instance.OnUI_Down; @UI_Down.performed += instance.OnUI_Down; @UI_Down.canceled += instance.OnUI_Down; @UI_Left.started += instance.OnUI_Left; @UI_Left.performed += instance.OnUI_Left; @UI_Left.canceled += instance.OnUI_Left; @UI_Right.started += instance.OnUI_Right; @UI_Right.performed += instance.OnUI_Right; @UI_Right.canceled += instance.OnUI_Right; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Ok.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnOk; @Ok.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnOk; @Ok.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnOk; @Cancel.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCancel; @Cancel.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCancel; @Cancel.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCancel; @Start.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStart; @Start.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStart; @Start.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStart; @MouseDown.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseDown; @MouseDown.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseDown; @MouseDown.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseDown; @MouseUp.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseUp; @MouseUp.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseUp; @MouseUp.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseUp; @MouseDrag.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseDrag; @MouseDrag.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseDrag; @MouseDrag.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMouseDrag; @Submit.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSubmit; @Submit.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSubmit; @Submit.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSubmit; @Select.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSelect; @Select.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSelect; @Select.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSelect; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Ok.started += instance.OnOk; @Ok.performed += instance.OnOk; @Ok.canceled += instance.OnOk; @Cancel.started += instance.OnCancel; @Cancel.performed += instance.OnCancel; @Cancel.canceled += instance.OnCancel; @Start.started += instance.OnStart; @Start.performed += instance.OnStart; @Start.canceled += instance.OnStart; @MouseDown.started += instance.OnMouseDown; @MouseDown.performed += instance.OnMouseDown; @MouseDown.canceled += instance.OnMouseDown; @MouseUp.started += instance.OnMouseUp; @MouseUp.performed += instance.OnMouseUp; @MouseUp.canceled += instance.OnMouseUp; @MouseDrag.started += instance.OnMouseDrag; @MouseDrag.performed += instance.OnMouseDrag; @MouseDrag.canceled += instance.OnMouseDrag; @Submit.started += instance.OnSubmit; @Submit.performed += instance.OnSubmit; @Submit.canceled += instance.OnSubmit; @Select.started += instance.OnSelect; @Select.performed += instance.OnSelect; @Select.canceled += instance.OnSelect; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @Check.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCheck; @Check.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCheck; @Check.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCheck; @Cancel.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCancel; @Cancel.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCancel; @Cancel.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCancel; @Move.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @Move.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMove; @RotateCam.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateCam; @RotateCam.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateCam; @RotateCam.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRotateCam; @Triangle.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTriangle; @Triangle.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTriangle; @Triangle.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTriangle; @Square.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSquare; @Square.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSquare; @Square.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnSquare; @D_Right.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Right; @D_Right.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Right; @D_Right.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Right; @D_Left.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Left; @D_Left.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Left; @D_Left.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Left; @D_Up.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Up; @D_Up.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Up; @D_Up.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Up; @D_Down.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Down; @D_Down.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Down; @D_Down.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnD_Down; @L1.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnL1; @L1.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnL1; @L1.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnL1; @L2.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnL2; @L2.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnL2; @L2.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnL2; @R1.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnR1; @R1.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnR1; @R1.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnR1; @R2.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnR2; @R2.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnR2; @R2.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnR2; @Option.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnOption; @Option.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnOption; @Option.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnOption; @TouchPad.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTouchPad; @TouchPad.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTouchPad; @TouchPad.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnTouchPad; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @Check.started += instance.OnCheck; @Check.performed += instance.OnCheck; @Check.canceled += instance.OnCheck; @Cancel.started += instance.OnCancel; @Cancel.performed += instance.OnCancel; @Cancel.canceled += instance.OnCancel; @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @RotateCam.started += instance.OnRotateCam; @RotateCam.performed += instance.OnRotateCam; @RotateCam.canceled += instance.OnRotateCam; @Triangle.started += instance.OnTriangle; @Triangle.performed += instance.OnTriangle; @Triangle.canceled += instance.OnTriangle; @Square.started += instance.OnSquare; @Square.performed += instance.OnSquare; @Square.canceled += instance.OnSquare; @D_Right.started += instance.OnD_Right; @D_Right.performed += instance.OnD_Right; @D_Right.canceled += instance.OnD_Right; @D_Left.started += instance.OnD_Left; @D_Left.performed += instance.OnD_Left; @D_Left.canceled += instance.OnD_Left; @D_Up.started += instance.OnD_Up; @D_Up.performed += instance.OnD_Up; @D_Up.canceled += instance.OnD_Up; @D_Down.started += instance.OnD_Down; @D_Down.performed += instance.OnD_Down; @D_Down.canceled += instance.OnD_Down; @L1.started += instance.OnL1; @L1.performed += instance.OnL1; @L1.canceled += instance.OnL1; @L2.started += instance.OnL2; @L2.performed += instance.OnL2; @L2.canceled += instance.OnL2; @R1.started += instance.OnR1; @R1.performed += instance.OnR1; @R1.canceled += instance.OnR1; @R2.started += instance.OnR2; @R2.performed += instance.OnR2; @R2.canceled += instance.OnR2; @Option.started += instance.OnOption; @Option.performed += instance.OnOption; @Option.canceled += instance.OnOption; @TouchPad.started += instance.OnTouchPad; @TouchPad.performed += instance.OnTouchPad; @TouchPad.canceled += instance.OnTouchPad; } }
public void SetCallbacks(IGamePlayActions instance) { if (m_Wrapper.m_GamePlayActionsCallbackInterface != null) { @MoveLeft.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveLeft; @MoveLeft.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveLeft; @MoveLeft.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveLeft; @MoveRight.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveRight; @MoveRight.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveRight; @MoveRight.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMoveRight; @MenuSelect.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMenuSelect; @MenuSelect.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMenuSelect; @MenuSelect.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnMenuSelect; @JumpA.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJumpA; @JumpA.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJumpA; @JumpA.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnJumpA; @BoostRT.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnBoostRT; @BoostRT.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnBoostRT; @BoostRT.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnBoostRT; @BrakeLT.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnBrakeLT; @BrakeLT.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnBrakeLT; @BrakeLT.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnBrakeLT; @StartSelect.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStartSelect; @StartSelect.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStartSelect; @StartSelect.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStartSelect; @LevelSelect.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnLevelSelect; @LevelSelect.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnLevelSelect; @LevelSelect.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnLevelSelect; @StoreSelect.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStoreSelect; @StoreSelect.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStoreSelect; @StoreSelect.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnStoreSelect; @CreditsSelect.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCreditsSelect; @CreditsSelect.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCreditsSelect; @CreditsSelect.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnCreditsSelect; @RetryX.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRetryX; @RetryX.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRetryX; @RetryX.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnRetryX; @NextLevelRB.started -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnNextLevelRB; @NextLevelRB.performed -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnNextLevelRB; @NextLevelRB.canceled -= m_Wrapper.m_GamePlayActionsCallbackInterface.OnNextLevelRB; } m_Wrapper.m_GamePlayActionsCallbackInterface = instance; if (instance != null) { @MoveLeft.started += instance.OnMoveLeft; @MoveLeft.performed += instance.OnMoveLeft; @MoveLeft.canceled += instance.OnMoveLeft; @MoveRight.started += instance.OnMoveRight; @MoveRight.performed += instance.OnMoveRight; @MoveRight.canceled += instance.OnMoveRight; @MenuSelect.started += instance.OnMenuSelect; @MenuSelect.performed += instance.OnMenuSelect; @MenuSelect.canceled += instance.OnMenuSelect; @JumpA.started += instance.OnJumpA; @JumpA.performed += instance.OnJumpA; @JumpA.canceled += instance.OnJumpA; @BoostRT.started += instance.OnBoostRT; @BoostRT.performed += instance.OnBoostRT; @BoostRT.canceled += instance.OnBoostRT; @BrakeLT.started += instance.OnBrakeLT; @BrakeLT.performed += instance.OnBrakeLT; @BrakeLT.canceled += instance.OnBrakeLT; @StartSelect.started += instance.OnStartSelect; @StartSelect.performed += instance.OnStartSelect; @StartSelect.canceled += instance.OnStartSelect; @LevelSelect.started += instance.OnLevelSelect; @LevelSelect.performed += instance.OnLevelSelect; @LevelSelect.canceled += instance.OnLevelSelect; @StoreSelect.started += instance.OnStoreSelect; @StoreSelect.performed += instance.OnStoreSelect; @StoreSelect.canceled += instance.OnStoreSelect; @CreditsSelect.started += instance.OnCreditsSelect; @CreditsSelect.performed += instance.OnCreditsSelect; @CreditsSelect.canceled += instance.OnCreditsSelect; @RetryX.started += instance.OnRetryX; @RetryX.performed += instance.OnRetryX; @RetryX.canceled += instance.OnRetryX; @NextLevelRB.started += instance.OnNextLevelRB; @NextLevelRB.performed += instance.OnNextLevelRB; @NextLevelRB.canceled += instance.OnNextLevelRB; } }