17 lines
434 B
C#
Raw Normal View History

2024-12-20 10:42:48 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Initialize : MonoBehaviour
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
static void Initializes()
{
var SESDKBridge = Instantiate<GameObject>(Resources.Load<GameObject>("SESDKBridge"));
SESDKBridge.name = "SESDKBridge";
DontDestroyOnLoad(SESDKBridge);
}
}