public void Init() { Debug.Log("INITIALISING"); World.Init(); Save_Location = Application.persistentDataPath; Load(); for (int i = 0; i < Grands.Count; i++) { for (int a = 0; a < Grands[i].Resources.Length; a++) { Grands[i].Resources[a].TimeLast = TimeLast; } } Alert_Pigeonhole = PlayerPrefs.GetInt("Alert_Pigeonhole") == 1; Alert_ScrollUp = PlayerPrefs.GetInt("Alert_ScrollUp") == 1; Alert_Letter = PlayerPrefs.GetInt("Alert_Letter") == 1; }
private void Awake() { worldResources.Init(); world.Init(); }