mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 18:39:23 +00:00
Update for 2023r172 game build
This commit is contained in:
parent
8d3baf7eb5
commit
7328c30838
27 changed files with 21 additions and 142 deletions
17
archived/ml_drs/Main.cs
Normal file
17
archived/ml_drs/Main.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue