can't spot the error. Trying to increment
- by Kevin Jensen Petersen
I really can't spot the error, or the misspelling. This script should increase the variable currentTime with 1 every second, as long as i am holding the Space button down.
This is Unity C#.
using UnityEngine;
using System.Collections;
public class GameTimer : MonoBehaviour {
//Timer
private bool isTimeDone;
public GUIText counter;
…