示例#1
0
 // Use this for initialization
 void Start()
 {
     _lobbyHook = GetComponent <LobbyHook>();
     Instance   = this;
     DontDestroyOnLoad(gameObject);
     HostGame();
 }
示例#2
0
 void Awake()
 {
     Instance = this;
 }