狗屎Minimax坏我代码

This commit is contained in:
SoulliesOfficial
2026-04-18 13:57:19 -04:00
parent 41140a2017
commit 7379583165
473 changed files with 34480 additions and 8069 deletions

View File

@@ -1,29 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using SickscoreGames;
using UnityEngine;
namespace SickscoreGames.HUDNavigationSystem
{
[RequireComponent(typeof(Text))]
[RequireComponent(typeof(HNSTextReference))]
public class HUDCurrentDegrees : MonoBehaviour
{
#region Variables
protected Text text;
protected HNSTextReference textRef;
#endregion
#region Main Methods
void Awake ()
{
text = GetComponent<Text> ();
textRef = GetComponent<HNSTextReference> ();
}
void Update ()
{
text.text = ((int)HUDNavigationCanvas.Instance.CompassBarCurrentDegrees).ToString ();
if (textRef)
textRef.SetText(((int)HUDNavigationCanvas.Instance.CompassBarCurrentDegrees).ToString ());
}
#endregion
}