Beispiel #1
0
        void Start()
        {
            FirebaseApp.DefaultInstance.SetEditorDatabaseUrl("https://yang-chigi.firebaseio.com/");
            networkTranslator.SetMsgHandler(gameObject.AddComponent <ClientMsgHandler>());

            Network_Client.Begin(serverIP);
        }
Beispiel #2
0
        void Start()
        {
            networkTranslator.SetMsgHandler(gameObject.AddComponent <DemoMsgHandler>());

            Network_Client.Begin();
        }
Beispiel #3
0
        void Start()
        {
            networkTranslator.SetMsgHandler(gameObject.AddComponent <ServerMsgHandler>());

            ServerSide.Network_Server.Begin();
        }