// Use this for initialization void Start() { viewCount++; if (viewCount > 1) { MyAdCenter.IAdShow(); } }
public static void Start() { if (myAdCenter != null) { return; } myAdCenter = new MyAdCenter(); myAdCenter.AdStart(); myAdCenter.IAdLoad(); }
// Start is called before the first frame update void Start() { int fi = PlayerPrefs.GetInt("readme", 0); if (fi == 0) { this.gameObject.AddComponent <DialogLong>().Set("利用規約", AppConfig.README, () => { PlayerPrefs.SetInt("readme", 1); MyAdCenter.Start(); }, null); } else { MyAdCenter.Start(); } se = this.GetComponent <SoundCenter>(); }