示例#1
0
 // Use this for initialization
 void Start()
 {
     DontDestroyOnLoad(gameObject);
     UI = GetComponent <LobbyUI>();
     UI.UpdateInfo("offline", "none");
 }
示例#2
0
 public override void OnStartHost()
 {
     base.OnStartHost();
     UI.UpdateInfo("hosting", networkAddress);
 }