Пример #1
0
    public void activateNitro()
    {
        nitroActivate = true;
        nitro        -= 0.25f;

        speedController.addToSpeed(25.0f);
    }
Пример #2
0
 public void Update()
 {
     if (pointerDown)
     {
         speedController.addToSpeed(-100.0f * Time.deltaTime);
     }
 }