Update for 2023r172 game build

This commit is contained in:
SDraw 2023-09-23 23:49:35 +03:00
parent 8d3baf7eb5
commit 7328c30838
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
27 changed files with 21 additions and 142 deletions

17
archived/ml_drs/Main.cs Normal file
View 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);
}
}
}
}