Skip to content

Commit

Permalink
Fixes for desktop build
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinCharleson committed Sep 13, 2024
1 parent a44e1d9 commit a514f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scenes/TTTS_HiFi_Sim.unity
Original file line number Diff line number Diff line change
Expand Up @@ -37103,7 +37103,7 @@ RectTransform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2054158423}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: 0, z: 115}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
Expand All @@ -37114,7 +37114,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 6}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2054158426
Expand Down
2 changes: 2 additions & 0 deletions Assets/Scripts/ModeSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ void Awake()
{
DontDestroyOnLoad(gameObject);

Cursor.lockState = CursorLockMode.None;

if(controlDropdown && portDropdown)
{
controlDropdown.value = PlayerPrefs.GetInt("ControlDropdown");
Expand Down

0 comments on commit a514f22

Please sign in to comment.