public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @AIVision.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnAIVision; @AIVision.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnAIVision; @AIVision.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnAIVision; @DebugHud.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnDebugHud; @DebugHud.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnDebugHud; @DebugHud.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnDebugHud; @Checkpoints.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnCheckpoints; @Checkpoints.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnCheckpoints; @Checkpoints.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnCheckpoints; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @AIVision.started += instance.OnAIVision; @AIVision.performed += instance.OnAIVision; @AIVision.canceled += instance.OnAIVision; @DebugHud.started += instance.OnDebugHud; @DebugHud.performed += instance.OnDebugHud; @DebugHud.canceled += instance.OnDebugHud; @Checkpoints.started += instance.OnCheckpoints; @Checkpoints.performed += instance.OnCheckpoints; @Checkpoints.canceled += instance.OnCheckpoints; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @Submit.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnSubmit; @Submit.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnSubmit; @Submit.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnSubmit; @Cancel.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnCancel; @Cancel.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnCancel; @Cancel.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnCancel; @Navigate.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnNavigate; @Navigate.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnNavigate; @Navigate.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnNavigate; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @Submit.started += instance.OnSubmit; @Submit.performed += instance.OnSubmit; @Submit.canceled += instance.OnSubmit; @Cancel.started += instance.OnCancel; @Cancel.performed += instance.OnCancel; @Cancel.canceled += instance.OnCancel; @Navigate.started += instance.OnNavigate; @Navigate.performed += instance.OnNavigate; @Navigate.canceled += instance.OnNavigate; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @ToggleDC.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleDC; @ToggleDC.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleDC; @ToggleDC.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleDC; @Enter.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnEnter; @Enter.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnEnter; @Enter.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnEnter; @AnyKey.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnyKey; @AnyKey.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnyKey; @AnyKey.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnyKey; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @ToggleDC.started += instance.OnToggleDC; @ToggleDC.performed += instance.OnToggleDC; @ToggleDC.canceled += instance.OnToggleDC; @Enter.started += instance.OnEnter; @Enter.performed += instance.OnEnter; @Enter.canceled += instance.OnEnter; @AnyKey.started += instance.OnAnyKey; @AnyKey.performed += instance.OnAnyKey; @AnyKey.canceled += instance.OnAnyKey; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @Noclip.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnNoclip; @Noclip.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnNoclip; @Noclip.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnNoclip; @DebugView.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnDebugView; @DebugView.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnDebugView; @DebugView.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnDebugView; @NoclipMovement.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnNoclipMovement; @NoclipMovement.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnNoclipMovement; @NoclipMovement.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnNoclipMovement; @NoclipFly.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnNoclipFly; @NoclipFly.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnNoclipFly; @NoclipFly.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnNoclipFly; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @Noclip.started += instance.OnNoclip; @Noclip.performed += instance.OnNoclip; @Noclip.canceled += instance.OnNoclip; @DebugView.started += instance.OnDebugView; @DebugView.performed += instance.OnDebugView; @DebugView.canceled += instance.OnDebugView; @NoclipMovement.started += instance.OnNoclipMovement; @NoclipMovement.performed += instance.OnNoclipMovement; @NoclipMovement.canceled += instance.OnNoclipMovement; @NoclipFly.started += instance.OnNoclipFly; @NoclipFly.performed += instance.OnNoclipFly; @NoclipFly.canceled += instance.OnNoclipFly; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @Z.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnZ; @Z.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnZ; @Z.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnZ; @X.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnX; @X.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnX; @X.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnX; @C.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnC; @C.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnC; @C.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnC; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @Z.started += instance.OnZ; @Z.performed += instance.OnZ; @Z.canceled += instance.OnZ; @X.started += instance.OnX; @X.performed += instance.OnX; @X.canceled += instance.OnX; @C.started += instance.OnC; @C.performed += instance.OnC; @C.canceled += instance.OnC; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @MonsterAdd.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnMonsterAdd; @MonsterAdd.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnMonsterAdd; @MonsterAdd.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnMonsterAdd; @Anim1.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim1; @Anim1.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim1; @Anim1.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim1; @Anim2.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim2; @Anim2.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim2; @Anim2.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim2; @Anim3.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim3; @Anim3.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim3; @Anim3.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim3; @Anim4.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim4; @Anim4.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim4; @Anim4.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim4; @Anim5.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim5; @Anim5.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim5; @Anim5.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim5; @Anim6.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim6; @Anim6.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim6; @Anim6.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim6; @Anim7.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim7; @Anim7.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim7; @Anim7.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnAnim7; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @MonsterAdd.started += instance.OnMonsterAdd; @MonsterAdd.performed += instance.OnMonsterAdd; @MonsterAdd.canceled += instance.OnMonsterAdd; @Anim1.started += instance.OnAnim1; @Anim1.performed += instance.OnAnim1; @Anim1.canceled += instance.OnAnim1; @Anim2.started += instance.OnAnim2; @Anim2.performed += instance.OnAnim2; @Anim2.canceled += instance.OnAnim2; @Anim3.started += instance.OnAnim3; @Anim3.performed += instance.OnAnim3; @Anim3.canceled += instance.OnAnim3; @Anim4.started += instance.OnAnim4; @Anim4.performed += instance.OnAnim4; @Anim4.canceled += instance.OnAnim4; @Anim5.started += instance.OnAnim5; @Anim5.performed += instance.OnAnim5; @Anim5.canceled += instance.OnAnim5; @Anim6.started += instance.OnAnim6; @Anim6.performed += instance.OnAnim6; @Anim6.canceled += instance.OnAnim6; @Anim7.started += instance.OnAnim7; @Anim7.performed += instance.OnAnim7; @Anim7.canceled += instance.OnAnim7; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @ToggleMovement.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleMovement; @ToggleMovement.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleMovement; @ToggleMovement.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleMovement; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @ToggleMovement.started += instance.OnToggleMovement; @ToggleMovement.performed += instance.OnToggleMovement; @ToggleMovement.canceled += instance.OnToggleMovement; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { ReloadScene.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnReloadScene; ReloadScene.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnReloadScene; ReloadScene.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnReloadScene; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { ReloadScene.started += instance.OnReloadScene; ReloadScene.performed += instance.OnReloadScene; ReloadScene.canceled += instance.OnReloadScene; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @ResetLevel.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnResetLevel; @ResetLevel.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnResetLevel; @ResetLevel.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnResetLevel; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @ResetLevel.started += instance.OnResetLevel; @ResetLevel.performed += instance.OnResetLevel; @ResetLevel.canceled += instance.OnResetLevel; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @ChunkDebugActivate.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnChunkDebugActivate; @ChunkDebugActivate.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnChunkDebugActivate; @ChunkDebugActivate.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnChunkDebugActivate; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @ChunkDebugActivate.started += instance.OnChunkDebugActivate; @ChunkDebugActivate.performed += instance.OnChunkDebugActivate; @ChunkDebugActivate.canceled += instance.OnChunkDebugActivate; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @Enter.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnEnter; @Enter.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnEnter; @Enter.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnEnter; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @Enter.started += instance.OnEnter; @Enter.performed += instance.OnEnter; @Enter.canceled += instance.OnEnter; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @LeftButtonDebug.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnLeftButtonDebug; @LeftButtonDebug.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnLeftButtonDebug; @LeftButtonDebug.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnLeftButtonDebug; @RightButtonDebug.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnRightButtonDebug; @RightButtonDebug.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnRightButtonDebug; @RightButtonDebug.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnRightButtonDebug; @UpButtonDebug.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnUpButtonDebug; @UpButtonDebug.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnUpButtonDebug; @UpButtonDebug.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnUpButtonDebug; @DownButtonDebug.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnDownButtonDebug; @DownButtonDebug.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnDownButtonDebug; @DownButtonDebug.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnDownButtonDebug; @SelectButtonDebug.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnSelectButtonDebug; @SelectButtonDebug.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnSelectButtonDebug; @SelectButtonDebug.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnSelectButtonDebug; @StartButtonDebug.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnStartButtonDebug; @StartButtonDebug.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnStartButtonDebug; @StartButtonDebug.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnStartButtonDebug; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @LeftButtonDebug.started += instance.OnLeftButtonDebug; @LeftButtonDebug.performed += instance.OnLeftButtonDebug; @LeftButtonDebug.canceled += instance.OnLeftButtonDebug; @RightButtonDebug.started += instance.OnRightButtonDebug; @RightButtonDebug.performed += instance.OnRightButtonDebug; @RightButtonDebug.canceled += instance.OnRightButtonDebug; @UpButtonDebug.started += instance.OnUpButtonDebug; @UpButtonDebug.performed += instance.OnUpButtonDebug; @UpButtonDebug.canceled += instance.OnUpButtonDebug; @DownButtonDebug.started += instance.OnDownButtonDebug; @DownButtonDebug.performed += instance.OnDownButtonDebug; @DownButtonDebug.canceled += instance.OnDownButtonDebug; @SelectButtonDebug.started += instance.OnSelectButtonDebug; @SelectButtonDebug.performed += instance.OnSelectButtonDebug; @SelectButtonDebug.canceled += instance.OnSelectButtonDebug; @StartButtonDebug.started += instance.OnStartButtonDebug; @StartButtonDebug.performed += instance.OnStartButtonDebug; @StartButtonDebug.canceled += instance.OnStartButtonDebug; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @Quit.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnQuit; @Quit.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnQuit; @Quit.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnQuit; @ToggleUI.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleUI; @ToggleUI.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleUI; @ToggleUI.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleUI; @DieBind.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnDieBind; @DieBind.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnDieBind; @DieBind.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnDieBind; @DBGdmg.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnDBGdmg; @DBGdmg.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnDBGdmg; @DBGdmg.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnDBGdmg; @Reset.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnReset; @Reset.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnReset; @Reset.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnReset; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @Quit.started += instance.OnQuit; @Quit.performed += instance.OnQuit; @Quit.canceled += instance.OnQuit; @ToggleUI.started += instance.OnToggleUI; @ToggleUI.performed += instance.OnToggleUI; @ToggleUI.canceled += instance.OnToggleUI; @DieBind.started += instance.OnDieBind; @DieBind.performed += instance.OnDieBind; @DieBind.canceled += instance.OnDieBind; @DBGdmg.started += instance.OnDBGdmg; @DBGdmg.performed += instance.OnDBGdmg; @DBGdmg.canceled += instance.OnDBGdmg; @Reset.started += instance.OnReset; @Reset.performed += instance.OnReset; @Reset.canceled += instance.OnReset; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @Screendoors.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnScreendoors; @Screendoors.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnScreendoors; @Screendoors.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnScreendoors; @FilmStrip.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnFilmStrip; @FilmStrip.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnFilmStrip; @FilmStrip.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnFilmStrip; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @Screendoors.started += instance.OnScreendoors; @Screendoors.performed += instance.OnScreendoors; @Screendoors.canceled += instance.OnScreendoors; @FilmStrip.started += instance.OnFilmStrip; @FilmStrip.performed += instance.OnFilmStrip; @FilmStrip.canceled += instance.OnFilmStrip; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @Bomb.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnBomb; @Bomb.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnBomb; @Bomb.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnBomb; @MoveMouse.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnMoveMouse; @MoveMouse.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnMoveMouse; @MoveMouse.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnMoveMouse; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @Bomb.started += instance.OnBomb; @Bomb.performed += instance.OnBomb; @Bomb.canceled += instance.OnBomb; @MoveMouse.started += instance.OnMoveMouse; @MoveMouse.performed += instance.OnMoveMouse; @MoveMouse.canceled += instance.OnMoveMouse; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @ToggleSwitchTimer.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleSwitchTimer; @ToggleSwitchTimer.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleSwitchTimer; @ToggleSwitchTimer.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnToggleSwitchTimer; @HealthDecrease.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnHealthDecrease; @HealthDecrease.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnHealthDecrease; @HealthDecrease.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnHealthDecrease; @HealthIncrease.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnHealthIncrease; @HealthIncrease.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnHealthIncrease; @HealthIncrease.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnHealthIncrease; @SummonHandGun.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonHandGun; @SummonHandGun.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonHandGun; @SummonHandGun.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonHandGun; @SummonLaserGun.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonLaserGun; @SummonLaserGun.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonLaserGun; @SummonLaserGun.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonLaserGun; @SummonSword.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonSword; @SummonSword.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonSword; @SummonSword.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonSword; @SummonShield.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonShield; @SummonShield.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonShield; @SummonShield.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonShield; @SummonBanana.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonBanana; @SummonBanana.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonBanana; @SummonBanana.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonBanana; @SummonBoomerang.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonBoomerang; @SummonBoomerang.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonBoomerang; @SummonBoomerang.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnSummonBoomerang; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @ToggleSwitchTimer.started += instance.OnToggleSwitchTimer; @ToggleSwitchTimer.performed += instance.OnToggleSwitchTimer; @ToggleSwitchTimer.canceled += instance.OnToggleSwitchTimer; @HealthDecrease.started += instance.OnHealthDecrease; @HealthDecrease.performed += instance.OnHealthDecrease; @HealthDecrease.canceled += instance.OnHealthDecrease; @HealthIncrease.started += instance.OnHealthIncrease; @HealthIncrease.performed += instance.OnHealthIncrease; @HealthIncrease.canceled += instance.OnHealthIncrease; @SummonHandGun.started += instance.OnSummonHandGun; @SummonHandGun.performed += instance.OnSummonHandGun; @SummonHandGun.canceled += instance.OnSummonHandGun; @SummonLaserGun.started += instance.OnSummonLaserGun; @SummonLaserGun.performed += instance.OnSummonLaserGun; @SummonLaserGun.canceled += instance.OnSummonLaserGun; @SummonSword.started += instance.OnSummonSword; @SummonSword.performed += instance.OnSummonSword; @SummonSword.canceled += instance.OnSummonSword; @SummonShield.started += instance.OnSummonShield; @SummonShield.performed += instance.OnSummonShield; @SummonShield.canceled += instance.OnSummonShield; @SummonBanana.started += instance.OnSummonBanana; @SummonBanana.performed += instance.OnSummonBanana; @SummonBanana.canceled += instance.OnSummonBanana; @SummonBoomerang.started += instance.OnSummonBoomerang; @SummonBoomerang.performed += instance.OnSummonBoomerang; @SummonBoomerang.canceled += instance.OnSummonBoomerang; } }
public void SetCallbacks(IDebugActions instance) { if (m_Wrapper.m_DebugActionsCallbackInterface != null) { @F1.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF1; @F1.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF1; @F1.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF1; @F2.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF2; @F2.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF2; @F2.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF2; @F3.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF3; @F3.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF3; @F3.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF3; @F4.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF4; @F4.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF4; @F4.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF4; @F5.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF5; @F5.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF5; @F5.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF5; @F6.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF6; @F6.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF6; @F6.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF6; @F7.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF7; @F7.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF7; @F7.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF7; @F8.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF8; @F8.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF8; @F8.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF8; @F9.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF9; @F9.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF9; @F9.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF9; @F10.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF10; @F10.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF10; @F10.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF10; @F11.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF11; @F11.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF11; @F11.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF11; @F12.started -= m_Wrapper.m_DebugActionsCallbackInterface.OnF12; @F12.performed -= m_Wrapper.m_DebugActionsCallbackInterface.OnF12; @F12.canceled -= m_Wrapper.m_DebugActionsCallbackInterface.OnF12; } m_Wrapper.m_DebugActionsCallbackInterface = instance; if (instance != null) { @F1.started += instance.OnF1; @F1.performed += instance.OnF1; @F1.canceled += instance.OnF1; @F2.started += instance.OnF2; @F2.performed += instance.OnF2; @F2.canceled += instance.OnF2; @F3.started += instance.OnF3; @F3.performed += instance.OnF3; @F3.canceled += instance.OnF3; @F4.started += instance.OnF4; @F4.performed += instance.OnF4; @F4.canceled += instance.OnF4; @F5.started += instance.OnF5; @F5.performed += instance.OnF5; @F5.canceled += instance.OnF5; @F6.started += instance.OnF6; @F6.performed += instance.OnF6; @F6.canceled += instance.OnF6; @F7.started += instance.OnF7; @F7.performed += instance.OnF7; @F7.canceled += instance.OnF7; @F8.started += instance.OnF8; @F8.performed += instance.OnF8; @F8.canceled += instance.OnF8; @F9.started += instance.OnF9; @F9.performed += instance.OnF9; @F9.canceled += instance.OnF9; @F10.started += instance.OnF10; @F10.performed += instance.OnF10; @F10.canceled += instance.OnF10; @F11.started += instance.OnF11; @F11.performed += instance.OnF11; @F11.canceled += instance.OnF11; @F12.started += instance.OnF12; @F12.performed += instance.OnF12; @F12.canceled += instance.OnF12; } }