示例#1
0
 // Add to speed if chosen
 public void OnSpeedModifyButton()
 {
     speed      = speed + 1;
     moveSpeed += speed;
     Debug.Log("Speed has been added");
     modifyMenuUI.SetActive(false);
     Time.timeScale = 1;
     statsUI.UpdateStats();
     mouseActive = false;
 }