private bool lowFuel; // is the car low on fuel? Low fuel <= 25% private void Start() { tileManager = CTileManager.instance; car = CCarMovement.instance; spawnLevel = Random.Range(minNormalLevel, maxNormalLevel); lowFuel = false; }
private int maxRunOverPeople; // max number of people the player can run over in GoodGuyMode // Use this for initialization void Start() { car = CCarMovement.instance; maxRunOverPeople = 5; playMode = PlayerPrefs.GetInt("PlayMode"); }
// called before start void Awake() { instance = this; }
// Use this for initialization void Start() { car = CCarMovement.instance; distanceSt = "Distance: "; fuelSt = "Fuel: "; }