Exemplo n.º 1
0
        public void SendSceneReady(string sceneId)
        {
            readyScenes.Add(sceneId);

            MessagingControllersManager.i.SetSceneReady(sceneId);

            WebInterface.ReportControlEvent(new WebInterface.SceneReady(sceneId));
        }
Exemplo n.º 2
0
        public void SendSceneReady(string sceneId)
        {
            readyScenes.Add(sceneId);

            Environment.i.messagingControllersManager.SetSceneReady(sceneId);

            WebInterface.ReportControlEvent(new WebInterface.SceneReady(sceneId));

            Environment.i.worldBlockersController.SetupWorldBlockers();
        }
Exemplo n.º 3
0
        public void SendSceneReady(string sceneId)
        {
            Environment.i.world.state.readyScenes.Add(sceneId);

            Environment.i.messaging.manager.SetSceneReady(sceneId);

            WebInterface.ReportControlEvent(new WebInterface.SceneReady(sceneId));

            Environment.i.world.blockersController.SetupWorldBlockers();

            OnReadyScene?.Invoke(sceneId);
        }
    private void ActivateRendering_Internal()
    {
        renderingActivatedAckLock.OnAllLocksRemoved -= ActivateRendering_Internal;

        if (!activatedRenderingBefore)
        {
            Utils.UnlockCursor();
            activatedRenderingBefore = true;
        }

        DCL.Configuration.ParcelSettings.VISUAL_LOADING_ENABLED = true;
        CommonScriptableObjects.rendererState.Set(true);

        WebInterface.ReportControlEvent(new WebInterface.ActivateRenderingACK());
    }
Exemplo n.º 5
0
 public void ExitKernelEditMode(ParcelScene scene)
 {
     WebInterface.ReportControlEvent(new WebInterface.StopStatefulMode(scene.sceneData.id));
 }
 void DeactivateRendering_Internal()
 {
     DCL.Configuration.ParcelSettings.VISUAL_LOADING_ENABLED = false;
     CommonScriptableObjects.rendererState.Set(false);
     WebInterface.ReportControlEvent(new WebInterface.DeactivateRenderingACK());
 }