17 lines
434 B
C#
17 lines
434 B
C#
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);
|
|
|
|
}
|
|
}
|
|
|