mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 13:45:10 +00:00
4f08887078
First Contact: Live is now offbeat [alienSuccess] code block is a bit smaller Mission Control is now stretchable Tap Trial - Started working on coding the inputs - Animated monkey (tap, double, and triple (incomplete))
20 lines
No EOL
484 B
C#
20 lines
No EOL
484 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using TMPro;
|
|
|
|
namespace HeavenStudio.Editor
|
|
{
|
|
public class EditorSettings : MonoBehaviour
|
|
{
|
|
public Toggle cursorCheckbox;
|
|
|
|
public void OnCursorCheckboxChanged()
|
|
{
|
|
Editor.instance.isCursorEnabled = cursorCheckbox.isOn;
|
|
if (!Editor.instance.fullscreen)
|
|
{
|
|
GameManager.instance.CursorCam.enabled = Editor.instance.isCursorEnabled;
|
|
}
|
|
}
|
|
}
|
|
} |