void Start () { suspicionMeter = FindObjectOfType<SuspicionMeter> (); //Init values gold = 0; reputation = 0; suspicion = 0; sucessfulRecipes = 0; failedRecipes = 0; SaveGameState (); //Grab saved values GetStoredGameState(); }
// Use this for initialization void Start () { gameStateController = FindObjectOfType<GameStateController> (); suspicionMeter = FindObjectOfType<SuspicionMeter> (); angerBar = FindObjectOfType<AngerBar> (); }