Beispiel #1
0
    void Awake()
    {
        DontDestroyOnLoad(gameObject);

        gameObject.AddComponent("MessageQueue");
        gameObject.AddComponent("ConnectionManager");

        NetworkRequestTable.init();
        NetworkResponseTable.init();

        SpeciesTable.initialize();
    }
Beispiel #2
0
    //ConnectionManager cManager = null;
    void Awake()
    {
        //cManager = new ConnectionManager();


        gameObject.AddComponent <MessageQueue>();
        gameObject.AddComponent <ConnectionManager>();
        DontDestroyOnLoad(gameObject);

        NetworkRequestTable.init();
        NetworkResponseTable.init();

        SpeciesTable.initialize();
    }