internal static MeshSyncServer CreateMeshSyncServer(bool autoStart)
        {
            GameObject     go  = new GameObject("MeshSyncServer");
            MeshSyncServer mss = go.AddComponent <MeshSyncServer>();

            mss.Init(MeshSyncConstants.DEFAULT_ASSETS_PATH);
            mss.SetAutoStartServer(autoStart);
            return(mss);
        }
Пример #2
0
        internal static MeshSyncServer CreateMeshSyncServer(bool autoStart)
        {
            GameObject     go  = new GameObject("MeshSyncServer");
            MeshSyncServer mss = go.AddComponent <MeshSyncServer>();

            mss.Init("Assets/MeshSyncAssets");
            mss.SetAutoStartServer(autoStart);
            return(mss);
        }