mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:07:39 +02:00
add cursor toggle, master volume
This commit is contained in:
@ -13,6 +13,7 @@ using TMPro;
|
||||
using Starpelly;
|
||||
using SFB;
|
||||
|
||||
using HeavenStudio.Editor;
|
||||
using HeavenStudio.Editor.Track;
|
||||
using HeavenStudio.Util;
|
||||
|
||||
@ -63,10 +64,11 @@ namespace HeavenStudio.Editor
|
||||
private bool loadedMusic = false;
|
||||
private string currentRemixPath = "";
|
||||
private string remixName = "";
|
||||
private bool fullscreen;
|
||||
public bool fullscreen;
|
||||
public bool discordDuringTesting = false;
|
||||
public bool canSelect = true;
|
||||
public bool editingInputField = false;
|
||||
public bool isCursorEnabled = true;
|
||||
|
||||
public static Editor instance { get; private set; }
|
||||
|
||||
@ -456,7 +458,7 @@ namespace HeavenStudio.Editor
|
||||
MainCanvas.enabled = true;
|
||||
EditorCamera.enabled = true;
|
||||
GameCamera.instance.camera.targetTexture = ScreenRenderTexture;
|
||||
GameManager.instance.CursorCam.enabled = true;
|
||||
GameManager.instance.CursorCam.enabled = true && isCursorEnabled;
|
||||
GameManager.instance.OverlayCamera.targetTexture = ScreenRenderTexture;
|
||||
fullscreen = false;
|
||||
|
||||
|
Reference in New Issue
Block a user