private static void StartPreInitActionSets() { SteamVR_Actions.p__default = ((SteamVR_Input_ActionSet_default)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_default>("/actions/default"))); SteamVR_Actions.p_platformer = ((SteamVR_Input_ActionSet_platformer)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_platformer>("/actions/platformer"))); SteamVR_Actions.p_buggy = ((SteamVR_Input_ActionSet_buggy)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_buggy>("/actions/buggy"))); SteamVR_Actions.p_mixedreality = ((SteamVR_Input_ActionSet_mixedreality)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_mixedreality>("/actions/mixedreality"))); SteamVR_Actions.p_gun = ((SteamVR_Input_ActionSet_gun)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_gun>("/actions/gun"))); SteamVR_Actions.p_NewSet = ((SteamVR_Input_ActionSet_NewSet)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_NewSet>("/actions/NewSet"))); Valve.VR.SteamVR_Input.actionSets = new Valve.VR.SteamVR_ActionSet[] { SteamVR_Actions._default, SteamVR_Actions.platformer, SteamVR_Actions.buggy, SteamVR_Actions.mixedreality, SteamVR_Actions.gun, SteamVR_Actions.NewSet }; }
private static void StartPreInitActionSets() { SteamVR_Actions.p__default = ((SteamVR_Input_ActionSet_default)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_default>("/actions/default"))); SteamVR_Actions.p_rock = ((SteamVR_Input_ActionSet_rock)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_rock>("/actions/rock"))); SteamVR_Actions.p_buggybuddy = ((SteamVR_Input_ActionSet_buggybuddy)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_buggybuddy>("/actions/buggybuddy"))); SteamVR_Actions.p_space = ((SteamVR_Input_ActionSet_space)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_space>("/actions/space"))); SteamVR_Actions.p_grenade = ((SteamVR_Input_ActionSet_grenade)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_grenade>("/actions/grenade"))); SteamVR_Actions.p_squeezable = ((SteamVR_Input_ActionSet_squeezable)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_squeezable>("/actions/squeezable"))); SteamVR_Actions.p_teleporting = ((SteamVR_Input_ActionSet_teleporting)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_teleporting>("/actions/teleporting"))); SteamVR_Actions.p_gun = ((SteamVR_Input_ActionSet_gun)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_gun>("/actions/gun"))); SteamVR_Actions.p_raw = ((SteamVR_Input_ActionSet_raw)(SteamVR_ActionSet.Create <SteamVR_Input_ActionSet_raw>("/actions/raw"))); Valve.VR.SteamVR_Input.actionSets = new Valve.VR.SteamVR_ActionSet[] { SteamVR_Actions._default, SteamVR_Actions.rock, SteamVR_Actions.buggybuddy, SteamVR_Actions.space, SteamVR_Actions.grenade, SteamVR_Actions.squeezable, SteamVR_Actions.teleporting, SteamVR_Actions.gun, SteamVR_Actions.raw }; }