blob: 670c3cbe9f996d5ab30a3cf8315c2da9ead778bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#if UNITY_EDITOR
using UnityEngine;
using System.Collections;
using XUtliPoolLib;
public class LoadGameAtHere : MonoBehaviour
{
// Use this for initialization
void Start ()
{
if(null == XInterfaceMgr.singleton.GetInterface<IEntrance>(0))
UnityEngine.SceneManagement.SceneManager.LoadScene(0);
}
}
#endif
|