sdraw_mods_cvr/archived/ml_drs/Main.cs
2025-08-15 06:49:24 -05:00

17 lines
513 B
C#

using ABI_RC.Core.UI;
using UnityEngine;
namespace ml_drs
{
public class DesktopReticleSwitch : MelonLoader.MelonMod
{
public override void OnUpdate()
{
if(Input.GetKey(KeyCode.LeftControl) && Input.GetKeyDown(KeyCode.R))
{
if((CohtmlHud.Instance != null) && (CohtmlHud.Instance.desktopPointer != null))
CohtmlHud.Instance.desktopPointer.SetActive(!CohtmlHud.Instance.desktopPointer.activeSelf);
}
}
}
}