using System.Collections; using System.Collections.Generic; using UnityEngine; public class Initialize : MonoBehaviour { [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] static void Initializes() { var SESDKBridge = Instantiate(Resources.Load("SESDKBridge")); SESDKBridge.name = "SESDKBridge"; DontDestroyOnLoad(SESDKBridge); } }