using System.Collections; using System.Collections.Generic; using UnityEngine; public class adInitialize : MonoBehaviour { public Object AdManagerPrefb; // Start is called before the first frame update void Start() { GameObject Ads=GameObject.Find("AdManager(Clone)"); if(Ads==null) Ads=Instantiate(AdManagerPrefb) as GameObject; } // Update is called once per frame void Update() { } }