Beispiel #1
0
 public void Update()
 {
     if (!boolToggle.IsActivelySelected())
     {
         boolToggle.SetValue(ship.testBool);
     }
     if (!val1Slider.IsActivelySelected())
     {
         val1Slider.SetValue(ship.testVal1);
     }
     if (!val2Slider.IsActivelySelected())
     {
         val2Slider.SetValue(ship.testVal2);
     }
 }