// Use this for initialization
    void Start()
    {
        MonoBehaviour.print("clientapp::start()");

        gameapp = new KBEngineApp();
        //gameapp.createAccount_loginapp(true);
        // gameapp.login_loginapp(true);

        gameapp.autoImportMessagesFromServer(true);
    }
Exemple #2
0
    // Use this for initialization
    void Start()
    {
        MonoBehaviour.print("clientapp::start()");

        gameapp                    = new KBEngineApp();
        KBEngineApp.url            = "http://127.0.0.1";
        KBEngineApp.app.clientType = 3;
        KBEngineApp.app.ip         = "127.0.0.1";
        KBEngineApp.app.port       = 20013;

        gameapp.autoImportMessagesFromServer(true);
    }
Exemple #3
0
 void initKBEngine()
 {
     gameapp = new KBEngineApp("", "127.0.0.1", 20013, 3);
     gameapp.autoImportMessagesFromServer(true);
 }