diff options
Diffstat (limited to 'GameCode/CrownPos.cs')
-rw-r--r-- | GameCode/CrownPos.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/GameCode/CrownPos.cs b/GameCode/CrownPos.cs new file mode 100644 index 0000000..f8cd30a --- /dev/null +++ b/GameCode/CrownPos.cs @@ -0,0 +1,16 @@ +using TMPro; +using UnityEngine; + +public class CrownPos : MonoBehaviour +{ + public TextMeshProUGUI text; + + public float GetOffset() + { + if (!(text.text == "")) + { + return 0.45f; + } + return 0f; + } +} |