DESKTOP-DDTRVOR\asus 84cecc83af 备份数据
2024-12-22 20:35:00 +08:00

32 lines
514 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ADSystem
{
private static ADSystem instance = null;
private ADSystem() {
}
public static ADSystem getInstance() {
if (instance == null) {
instance = new ADSystem();
}
return instance;
}
public void InitSdk(Action action)
{
action?.Invoke();
}
public void PlayAd(Action action)
{
action?.Invoke();
}
}