summaryrefslogtreecommitdiff
path: root/Thronefall_v1.0/Decompile/ScreenMarkerCanvasHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_v1.0/Decompile/ScreenMarkerCanvasHelper.cs')
-rw-r--r--Thronefall_v1.0/Decompile/ScreenMarkerCanvasHelper.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Thronefall_v1.0/Decompile/ScreenMarkerCanvasHelper.cs b/Thronefall_v1.0/Decompile/ScreenMarkerCanvasHelper.cs
new file mode 100644
index 0000000..5f047c7
--- /dev/null
+++ b/Thronefall_v1.0/Decompile/ScreenMarkerCanvasHelper.cs
@@ -0,0 +1,19 @@
+using UnityEngine;
+
+public class ScreenMarkerCanvasHelper : MonoBehaviour
+{
+ public static ScreenMarkerCanvasHelper instance;
+
+ [SerializeField]
+ private RectTransform ownRT;
+
+ public float Height => ownRT.sizeDelta.y;
+
+ private void Awake()
+ {
+ if (instance == null)
+ {
+ instance = this;
+ }
+ }
+}