public void LoadLevel(string str) { if (!sys) { sys = GameObject.FindGameObjectWithTag("GameController").GetComponent <SaveLoadActions>(); } sys.SavePlayer(); StartCoroutine(FadeCo(str)); }
public void LoadLevel(string str) { if (!sys) { sys = GameObject.FindGameObjectWithTag("GameController").GetComponent <SaveLoadActions>(); } sys.SavePlayer(); StartCoroutine(FadeCo(str)); }