first commit
This commit is contained in:
20
NitroxClient/MonoBehaviours/Gui/HUD/DenyOwnershipHand.cs
Normal file
20
NitroxClient/MonoBehaviours/Gui/HUD/DenyOwnershipHand.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user