Skip to content

Commit 33f209a

Browse files
committed
Improved UI
- Fixed scale issue
1 parent 7c9fad5 commit 33f209a

File tree

9 files changed

+62
-272
lines changed

9 files changed

+62
-272
lines changed

Assets/Scenes/Altitude Control/Altitude Control.unity

+11-128
Large diffs are not rendered by default.

Assets/Scenes/Altitude Control/AltitudeUI.cs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using System.Collections;
2-
using System.Collections.Generic;
3-
using UnityEngine;
1+
using UnityEngine;
42
using UnityEngine.UI;
3+
using System.Threading;
4+
using System.Globalization;
55

66
public class AltitudeUI : MonoBehaviour
77
{
@@ -25,6 +25,8 @@ public class AltitudeUI : MonoBehaviour
2525

2626
void Start()
2727
{
28+
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-GB");
29+
2830
PValue.text = rod.GetComponent<AltitudeController>().pid.pFactor.ToString();
2931
IValue.text = rod.GetComponent<AltitudeController>().pid.iFactor.ToString();
3032
DValue.text = rod.GetComponent<AltitudeController>().pid.dFactor.ToString();

0 commit comments

Comments
 (0)