Exemple #1
0
 // Update is called once per frame
 void Update()
 {
     if (controllerManager.ButtonHeldDownBothController(Valve.VR.EVRButtonId.k_EButton_Grip))
     {
         Debug.Log("true");
         FillPercentage += increaseSpeed * Time.deltaTime;
     }
     else
     {
         Debug.Log("False");
         FillPercentage -= increaseSpeed * Time.deltaTime;
     }
 }