狗屎Minimax坏我代码
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using SickscoreGames.HUDNavigationSystem;
|
||||
using UnityEngine;
|
||||
|
||||
using SickscoreGames.HUDNavigationSystem; // MANDATORY !!
|
||||
|
||||
public class ExampleCallbackScript : MonoBehaviour
|
||||
{
|
||||
#region Example Methods
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/_Examples/Scripts/ExampleCallbackScript.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/_Examples/Scripts/ExampleCallbackScript.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/_Examples/Scripts/HUDCurrentDegrees.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/_Examples/Scripts/HUDCurrentDegrees.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using SickscoreGames;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SickscoreGames.HUDNavigationSystem
|
||||
{
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/_Examples/Scripts/HUDKeepRotation.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/_Examples/Scripts/HUDKeepRotation.cs
|
||||
uploadId: 884440
|
||||
|
||||
Reference in New Issue
Block a user