public void CmdIncreaseTime(float value) { // Tells the server to increase the time by value Debug.Log(" Server sending command to increase time"); if (timer == null) { timer = GameObject.FindObjectOfType <UpdateTime> (); } timer.IncreaseTime(value); }