| 123456789101112131415161718192021222324252627282930 | 
							- using System.Reflection;
 
- using UnityEngine;
 
- public class GameStart : MonoBehaviour
 
- {
 
-     public ShaderVariantCollection ShaderVariantCollection;
 
-     public LoadType LoadType;
 
-     public string h5Url;
 
-     private GameStartUIPanel _gameStartUIPanel;
 
-     public void Start()
 
-     {
 
-         _gameStartUIPanel = GetComponent<GameStartUIPanel>();
 
-         StartLoadGame();
 
-     }
 
-     private void StartLoadGame()
 
-     {
 
-         string typeName = "GameApplction";
 
-         // lock (ActivatorLoock)
 
-         {
 
-             Assembly assembly = Assembly.Load("Fort23.Mono");
 
-             System.Type type = assembly.GetType(typeName);
 
-             IGameStart iGameStart = System.Activator.CreateInstance(type) as IGameStart;
 
-             iGameStart.StartGame(LoadType, h5Url, _gameStartUIPanel, delegate { gameObject.SetActive(false); });
 
-         }
 
-     }
 
- }
 
 
  |