Files
Nitrox/NitroxClient/MonoBehaviours/Gui/HUD/DenyOwnershipHand.cs
2025-07-06 00:23:46 +02:00

21 lines
582 B
C#

using UnityEngine;
namespace NitroxClient.MonoBehaviours.Gui.HUD;
public class DenyOwnershipHand : MonoBehaviour
{
private void Start()
{
// Forces the message to go away after a few seconds.
Destroy(this, 2);
}
private void Update()
{
//TODO: Check if this should be Hand
HandReticle.main.SetText(HandReticle.TextType.Hand, "Nitrox_DenyOwnershipHand", true);
HandReticle.main.SetText(HandReticle.TextType.HandSubscript, string.Empty, false);
HandReticle.main.SetIcon(HandReticle.IconType.HandDeny);
}
}