fix speedo

This commit is contained in:
ntr committed 2023-08-08 15:59:24 +10:00
1 parent 05cc5244ea
commit 423ae0dd29
5 files changed
+22 -4

No files matched your search

@@ -10048,6 +10048,10 @@ PrefabInstance:
propertyPath: timingDoc
value:
objectReference: {fileID: 766862837}
- target: {fileID: 5313449993149091347, guid: ebed5434f18ca13e38d2d7bfcc18d6c3, type: 3}
propertyPath: controlsUI
value:
objectReference: {fileID: 1926434157}
- target: {fileID: 5313449993149091347, guid: ebed5434f18ca13e38d2d7bfcc18d6c3, type: 3}
propertyPath: controlsDoc
value:
@@ -56408,6 +56412,17 @@ Transform:
m_CorrespondingSourceObject: {fileID: 7588376663361902483, guid: 73ab56de058af21389c312279181f856, type: 3}
m_PrefabInstance: {fileID: 1925255136}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1926434157 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 3792430562793951787, guid: 217f9c8f922f2d41cac52c3699bde478, type: 3}
m_PrefabInstance: {fileID: 2015948213}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8401c141ee093632d847505914412cee, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &1929957576
PrefabInstance:
m_ObjectHideFlags: 0
-1
View File
@@ -17,7 +17,6 @@ public class ControlsUI : MonoBehaviour {
}
void Init() {
Debug.Log("controls ui init");
uiDocument = GetComponent<UIDocument>();
speed = uiDocument.rootVisualElement.Q<Label>("speed");
}
+5
View File
@@ -22,6 +22,9 @@ public class MenuControls : MonoBehaviour, SpaceRaceInput.IMenuActions {
[SerializeField]
TimingUI timingUi;
[SerializeField]
ControlsUI controlsUI;
SpaceRaceInput input;
bool visible = false;
@@ -60,6 +63,7 @@ public class MenuControls : MonoBehaviour, SpaceRaceInput.IMenuActions {
crosshairDoc.enabled = false;
controlsDoc.enabled = false;
timingUi.enabled = false;
controlsUI.enabled = false;
shipControls.enabled = false;
}
@@ -73,6 +77,7 @@ public class MenuControls : MonoBehaviour, SpaceRaceInput.IMenuActions {
crosshairDoc.enabled = true;
controlsDoc.enabled = true;
timingUi.enabled = true;
controlsUI.enabled = true;
shipControls.enabled = true;
}
+2 -1
View File
@@ -134,7 +134,8 @@ PlayerSettings:
vulkanEnableCommandBufferRecycling: 1
loadStoreDebugModeEnabled: 0
bundleVersion: 0.1
preloadedAssets: []
preloadedAssets:
- {fileID: 11400000, guid: 020903acd8b50dd45a683fb9312ba7af, type: 2}
metroInputSource: 0
wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1
-2
View File
@@ -1,7 +1,5 @@
# SpaceRace!
- ballin triforce crosshair
- shields
- power units