// Start is called before the first frame update
 void Start()
 {
     player = GameObject.FindObjectOfType <Player_Controller>();
     enemy  = GameObject.FindObjectOfType <Enemy>();
     ads    = GameObject.FindObjectOfType <LogicalAds>();
     round.SetActive(true);
 }
Beispiel #2
0
    private void Awake()
    {
        MobileAds.Initialize(appID);

        if (instance == null)
        {
            instance = this;
        }
        else
        {
            Destroy(this);
        }
    }