public void SetCallbacks(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @Move.started     -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.performed   -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.canceled    -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Jump.started     -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.performed   -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.canceled    -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Attack.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnAttack;
         @Attack.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnAttack;
         @Attack.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnAttack;
     }
     m_Wrapper.m_LandActionsCallbackInterface = 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(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @MoveX.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveX;
         @MoveX.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveX;
         @MoveX.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveX;
         @MoveY.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveY;
         @MoveY.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveY;
         @MoveY.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveY;
         @Swap.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnSwap;
         @Swap.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnSwap;
         @Swap.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnSwap;
         @Block.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnBlock;
         @Block.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnBlock;
         @Block.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnBlock;
     }
     m_Wrapper.m_LandActionsCallbackInterface = instance;
     if (instance != null)
     {
         @MoveX.started   += instance.OnMoveX;
         @MoveX.performed += instance.OnMoveX;
         @MoveX.canceled  += instance.OnMoveX;
         @MoveY.started   += instance.OnMoveY;
         @MoveY.performed += instance.OnMoveY;
         @MoveY.canceled  += instance.OnMoveY;
         @Swap.started    += instance.OnSwap;
         @Swap.performed  += instance.OnSwap;
         @Swap.canceled   += instance.OnSwap;
         @Block.started   += instance.OnBlock;
         @Block.performed += instance.OnBlock;
         @Block.canceled  += instance.OnBlock;
     }
 }
 public void SetCallbacks(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @Move.started          -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.performed        -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.canceled         -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Jump.started          -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.performed        -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.canceled         -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @ClimbLadder.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnClimbLadder;
         @ClimbLadder.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnClimbLadder;
         @ClimbLadder.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnClimbLadder;
         @Sprint.started        -= m_Wrapper.m_LandActionsCallbackInterface.OnSprint;
         @Sprint.performed      -= m_Wrapper.m_LandActionsCallbackInterface.OnSprint;
         @Sprint.canceled       -= m_Wrapper.m_LandActionsCallbackInterface.OnSprint;
     }
     m_Wrapper.m_LandActionsCallbackInterface = 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;
         @ClimbLadder.started   += instance.OnClimbLadder;
         @ClimbLadder.performed += instance.OnClimbLadder;
         @ClimbLadder.canceled  += instance.OnClimbLadder;
         @Sprint.started        += instance.OnSprint;
         @Sprint.performed      += instance.OnSprint;
         @Sprint.canceled       += instance.OnSprint;
     }
 }
示例#4
0
 public void SetCallbacks(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @Move.started     -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.performed   -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.canceled    -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Jump.started     -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.performed   -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.canceled    -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Crouch.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnCrouch;
         @Crouch.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnCrouch;
         @Crouch.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnCrouch;
         @Shoot.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnShoot;
         @Shoot.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnShoot;
         @Shoot.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnShoot;
     }
     m_Wrapper.m_LandActionsCallbackInterface = 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;
         @Shoot.started    += instance.OnShoot;
         @Shoot.performed  += instance.OnShoot;
         @Shoot.canceled   += instance.OnShoot;
     }
 }
示例#5
0
 public void SetCallbacks(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @movement.started         -= m_Wrapper.m_LandActionsCallbackInterface.OnMovement;
         @movement.performed       -= m_Wrapper.m_LandActionsCallbackInterface.OnMovement;
         @movement.canceled        -= m_Wrapper.m_LandActionsCallbackInterface.OnMovement;
         @gear.started             -= m_Wrapper.m_LandActionsCallbackInterface.OnGear;
         @gear.performed           -= m_Wrapper.m_LandActionsCallbackInterface.OnGear;
         @gear.canceled            -= m_Wrapper.m_LandActionsCallbackInterface.OnGear;
         @brake.started            -= m_Wrapper.m_LandActionsCallbackInterface.OnBrake;
         @brake.performed          -= m_Wrapper.m_LandActionsCallbackInterface.OnBrake;
         @brake.canceled           -= m_Wrapper.m_LandActionsCallbackInterface.OnBrake;
         @turretMovement.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnTurretMovement;
         @turretMovement.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnTurretMovement;
         @turretMovement.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnTurretMovement;
         @shoot.started            -= m_Wrapper.m_LandActionsCallbackInterface.OnShoot;
         @shoot.performed          -= m_Wrapper.m_LandActionsCallbackInterface.OnShoot;
         @shoot.canceled           -= m_Wrapper.m_LandActionsCallbackInterface.OnShoot;
         @turretChange.started     -= m_Wrapper.m_LandActionsCallbackInterface.OnTurretChange;
         @turretChange.performed   -= m_Wrapper.m_LandActionsCallbackInterface.OnTurretChange;
         @turretChange.canceled    -= m_Wrapper.m_LandActionsCallbackInterface.OnTurretChange;
         @toggleLight.started      -= m_Wrapper.m_LandActionsCallbackInterface.OnToggleLight;
         @toggleLight.performed    -= m_Wrapper.m_LandActionsCallbackInterface.OnToggleLight;
         @toggleLight.canceled     -= m_Wrapper.m_LandActionsCallbackInterface.OnToggleLight;
     }
     m_Wrapper.m_LandActionsCallbackInterface = instance;
     if (instance != null)
     {
         @movement.started         += instance.OnMovement;
         @movement.performed       += instance.OnMovement;
         @movement.canceled        += instance.OnMovement;
         @gear.started             += instance.OnGear;
         @gear.performed           += instance.OnGear;
         @gear.canceled            += instance.OnGear;
         @brake.started            += instance.OnBrake;
         @brake.performed          += instance.OnBrake;
         @brake.canceled           += instance.OnBrake;
         @turretMovement.started   += instance.OnTurretMovement;
         @turretMovement.performed += instance.OnTurretMovement;
         @turretMovement.canceled  += instance.OnTurretMovement;
         @shoot.started            += instance.OnShoot;
         @shoot.performed          += instance.OnShoot;
         @shoot.canceled           += instance.OnShoot;
         @turretChange.started     += instance.OnTurretChange;
         @turretChange.performed   += instance.OnTurretChange;
         @turretChange.canceled    += instance.OnTurretChange;
         @toggleLight.started      += instance.OnToggleLight;
         @toggleLight.performed    += instance.OnToggleLight;
         @toggleLight.canceled     += instance.OnToggleLight;
     }
 }
示例#6
0
 public void SetCallbacks(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @Move.started      -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.performed    -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.canceled     -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Dir.started       -= m_Wrapper.m_LandActionsCallbackInterface.OnDir;
         @Dir.performed     -= m_Wrapper.m_LandActionsCallbackInterface.OnDir;
         @Dir.canceled      -= m_Wrapper.m_LandActionsCallbackInterface.OnDir;
         @Attack.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnAttack;
         @Attack.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnAttack;
         @Attack.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnAttack;
         @Void.started      -= m_Wrapper.m_LandActionsCallbackInterface.OnVoid;
         @Void.performed    -= m_Wrapper.m_LandActionsCallbackInterface.OnVoid;
         @Void.canceled     -= m_Wrapper.m_LandActionsCallbackInterface.OnVoid;
         @Dash.started      -= m_Wrapper.m_LandActionsCallbackInterface.OnDash;
         @Dash.performed    -= m_Wrapper.m_LandActionsCallbackInterface.OnDash;
         @Dash.canceled     -= m_Wrapper.m_LandActionsCallbackInterface.OnDash;
         @Shadow.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnShadow;
         @Shadow.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnShadow;
         @Shadow.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnShadow;
         @Restart.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnRestart;
         @Restart.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnRestart;
         @Restart.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnRestart;
     }
     m_Wrapper.m_LandActionsCallbackInterface = instance;
     if (instance != null)
     {
         @Move.started      += instance.OnMove;
         @Move.performed    += instance.OnMove;
         @Move.canceled     += instance.OnMove;
         @Dir.started       += instance.OnDir;
         @Dir.performed     += instance.OnDir;
         @Dir.canceled      += instance.OnDir;
         @Attack.started    += instance.OnAttack;
         @Attack.performed  += instance.OnAttack;
         @Attack.canceled   += instance.OnAttack;
         @Void.started      += instance.OnVoid;
         @Void.performed    += instance.OnVoid;
         @Void.canceled     += instance.OnVoid;
         @Dash.started      += instance.OnDash;
         @Dash.performed    += instance.OnDash;
         @Dash.canceled     += instance.OnDash;
         @Shadow.started    += instance.OnShadow;
         @Shadow.performed  += instance.OnShadow;
         @Shadow.canceled   += instance.OnShadow;
         @Restart.started   += instance.OnRestart;
         @Restart.performed += instance.OnRestart;
         @Restart.canceled  += instance.OnRestart;
     }
 }
 public void SetCallbacks(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @Jump.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Move.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @Move.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnMove;
         @View.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnView;
         @View.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnView;
         @View.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnView;
         @Fast.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnFast;
         @Fast.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnFast;
         @Fast.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnFast;
         @Shoot.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnShoot;
         @Shoot.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnShoot;
         @Shoot.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnShoot;
         @Pick.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnPick;
         @Pick.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnPick;
         @Pick.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnPick;
     }
     m_Wrapper.m_LandActionsCallbackInterface = 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;
         @View.started    += instance.OnView;
         @View.performed  += instance.OnView;
         @View.canceled   += instance.OnView;
         @Fast.started    += instance.OnFast;
         @Fast.performed  += instance.OnFast;
         @Fast.canceled   += instance.OnFast;
         @Shoot.started   += instance.OnShoot;
         @Shoot.performed += instance.OnShoot;
         @Shoot.canceled  += instance.OnShoot;
         @Pick.started    += instance.OnPick;
         @Pick.performed  += instance.OnPick;
         @Pick.canceled   += instance.OnPick;
     }
 }
示例#8
0
 public void SetCallbacks(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @MoveHorizontal.started    -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveHorizontal;
         @MoveHorizontal.performed  -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveHorizontal;
         @MoveHorizontal.canceled   -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveHorizontal;
         @Attack.started            -= m_Wrapper.m_LandActionsCallbackInterface.OnAttack;
         @Attack.performed          -= m_Wrapper.m_LandActionsCallbackInterface.OnAttack;
         @Attack.canceled           -= m_Wrapper.m_LandActionsCallbackInterface.OnAttack;
         @Activateability.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnActivateability;
         @Activateability.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnActivateability;
         @Activateability.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnActivateability;
         @Jump.started                -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.performed              -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @Jump.canceled               -= m_Wrapper.m_LandActionsCallbackInterface.OnJump;
         @ActivateSomething.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnActivateSomething;
         @ActivateSomething.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnActivateSomething;
         @ActivateSomething.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnActivateSomething;
     }
     m_Wrapper.m_LandActionsCallbackInterface = instance;
     if (instance != null)
     {
         @MoveHorizontal.started    += instance.OnMoveHorizontal;
         @MoveHorizontal.performed  += instance.OnMoveHorizontal;
         @MoveHorizontal.canceled   += instance.OnMoveHorizontal;
         @Attack.started            += instance.OnAttack;
         @Attack.performed          += instance.OnAttack;
         @Attack.canceled           += instance.OnAttack;
         @Activateability.started   += instance.OnActivateability;
         @Activateability.performed += instance.OnActivateability;
         @Activateability.canceled  += instance.OnActivateability;
         @Jump.started                += instance.OnJump;
         @Jump.performed              += instance.OnJump;
         @Jump.canceled               += instance.OnJump;
         @ActivateSomething.started   += instance.OnActivateSomething;
         @ActivateSomething.performed += instance.OnActivateSomething;
         @ActivateSomething.canceled  += instance.OnActivateSomething;
     }
 }
示例#9
0
 public void SetCallbacks(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @MoveRight.started        -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveRight;
         @MoveRight.performed      -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveRight;
         @MoveRight.canceled       -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveRight;
         @MoveForward.started      -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveForward;
         @MoveForward.performed    -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveForward;
         @MoveForward.canceled     -= m_Wrapper.m_LandActionsCallbackInterface.OnMoveForward;
         @Fire.started             -= m_Wrapper.m_LandActionsCallbackInterface.OnFire;
         @Fire.performed           -= m_Wrapper.m_LandActionsCallbackInterface.OnFire;
         @Fire.canceled            -= m_Wrapper.m_LandActionsCallbackInterface.OnFire;
         @FiringPosition.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnFiringPosition;
         @FiringPosition.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnFiringPosition;
         @FiringPosition.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnFiringPosition;
         @Interact.started         -= m_Wrapper.m_LandActionsCallbackInterface.OnInteract;
         @Interact.performed       -= m_Wrapper.m_LandActionsCallbackInterface.OnInteract;
         @Interact.canceled        -= m_Wrapper.m_LandActionsCallbackInterface.OnInteract;
     }
     m_Wrapper.m_LandActionsCallbackInterface = instance;
     if (instance != null)
     {
         @MoveRight.started        += instance.OnMoveRight;
         @MoveRight.performed      += instance.OnMoveRight;
         @MoveRight.canceled       += instance.OnMoveRight;
         @MoveForward.started      += instance.OnMoveForward;
         @MoveForward.performed    += instance.OnMoveForward;
         @MoveForward.canceled     += instance.OnMoveForward;
         @Fire.started             += instance.OnFire;
         @Fire.performed           += instance.OnFire;
         @Fire.canceled            += instance.OnFire;
         @FiringPosition.started   += instance.OnFiringPosition;
         @FiringPosition.performed += instance.OnFiringPosition;
         @FiringPosition.canceled  += instance.OnFiringPosition;
         @Interact.started         += instance.OnInteract;
         @Interact.performed       += instance.OnInteract;
         @Interact.canceled        += instance.OnInteract;
     }
 }
 public void SetCallbacks(ILandActions instance)
 {
     if (m_Wrapper.m_LandActionsCallbackInterface != null)
     {
         @Horizontal.started   -= m_Wrapper.m_LandActionsCallbackInterface.OnHorizontal;
         @Horizontal.performed -= m_Wrapper.m_LandActionsCallbackInterface.OnHorizontal;
         @Horizontal.canceled  -= m_Wrapper.m_LandActionsCallbackInterface.OnHorizontal;
         @Vertical.started     -= m_Wrapper.m_LandActionsCallbackInterface.OnVertical;
         @Vertical.performed   -= m_Wrapper.m_LandActionsCallbackInterface.OnVertical;
         @Vertical.canceled    -= m_Wrapper.m_LandActionsCallbackInterface.OnVertical;
     }
     m_Wrapper.m_LandActionsCallbackInterface = 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;
     }
 }