From d8e696849eaeab2160be182bae6fcde503903922 Mon Sep 17 00:00:00 2001 From: RedBigz Date: Thu, 7 Nov 2024 19:39:15 +1000 Subject: [PATCH] Add grenade recognition --- TABGVR/Player/Mundanities/Grenades.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 TABGVR/Player/Mundanities/Grenades.cs diff --git a/TABGVR/Player/Mundanities/Grenades.cs b/TABGVR/Player/Mundanities/Grenades.cs new file mode 100644 index 0000000..e1e050a --- /dev/null +++ b/TABGVR/Player/Mundanities/Grenades.cs @@ -0,0 +1,10 @@ +using JetBrains.Annotations; + +namespace TABGVR.Player.Mundanities; + +public class Grenades +{ + [CanBeNull] + public static Grenade SelectedGrenade => + PlayerManager.LocalPlayer.player.GetComponent().rightHand.GetComponentInChildren(); +} \ No newline at end of file