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); }
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); }