Beispiel #1
0
 private void OnTriggerStay(Collider other)
 {
     if (interaction.OnLeft())
     {
         // updateDependentMethod();
         // StartCoroutine(doRotation(-1));
         rotat(-1);
     }
     else if (interaction.OnRight())
     {
         //   updateDependentMethod();
         //  StartCoroutine(doRotation(1));
         rotat(1);
     }
 }