예제 #1
0
    void Awake()
    {
        DontDestroyOnLoad(gameObject);

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

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

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


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

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

        SpeciesTable.initialize();
    }