Ejemplo n.º 1
0
    void Awake()
    {
        DebugUtils.AddLogAction(DebugLog);
        Properties cfg = Properties.Create("config.txt");

        InitializeClient(cfg);
        InitializeLogger(cfg);
        TimerTaskQueue.Instance.Reset();
        FrameTimerTaskHeap.Instance.Reset();
        SequenceManager.Instance.Clear();
        IntEventDispatcher.Cleanup();
        NetworkEventHandler.Initialize();
        ResourceManager.Initialize(ResourceLoadMode.AB, Application.streamingAssetsPath + "/PC", "PC");
    }