Files
Amir_NutBolt_Updated/Assets/AdManager/adInitialize.cs
2026-06-07 22:59:32 +08:00

22 lines
461 B
C#

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()
{
}
}