public void Start() { SaveLoad = GameObject.Find("SaveLoad").GetComponent <saveLoad>(); if (Advertisement.isSupported) { if (Application.platform == RuntimePlatform.Android) { Advertisement.Initialize("1313182", false); } if (Application.platform == RuntimePlatform.IPhonePlayer) { Advertisement.Initialize("1313183", false); } } }
// later implementation void Awake() { DontDestroyOnLoad(this); SL = this; load(); }
return(new Composite(saveLoad, data, name, key, value));
private void Awake() { SaveLoad = GameObject.Find("SaveLoad").GetComponent <saveLoad>(); bgms = GameObject.Find("bgm").GetComponent <bgm>(); body = playStoreURL; }
public void Awake() { DontDestroyOnLoad(this); SaveLoad = GameObject.Find("SaveLoad").GetComponent <saveLoad>(); }