Created
August 24, 2018 14:55
-
-
Save 0V/8b72411ef4f1c7159d4c3df2c3c66012 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var controller = GetComponent<SteamVRInputRx>(); | |
controller.ControllerState | |
.Where(s => s == SteamVRControllerState.TriggerPressDown) | |
.Subscribe(_ => | |
{ | |
// Triggerが引かれたら何かをする | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment