private void MakeInstance() { if (instance != null) { Destroy(gameObject); } else { instance = this; DontDestroyOnLoad(gameObject); } }
void toTitle() { UnityAdsScript.ShowAd(); SceneManager.LoadScene("Title"); }
public void BackTitle() { UnityAdsScript.ShowAd(); SceneManager.LoadScene("Title"); }