fix speedo
This commit is contained in:
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
|
||||
|
||||
@@ -17,7 +17,6 @@ public class ControlsUI : MonoBehaviour {
|
||||
}
|
||||
|
||||
void Init() {
|
||||
Debug.Log("controls ui init");
|
||||
uiDocument = GetComponent<UIDocument>();
|
||||
speed = uiDocument.rootVisualElement.Q<Label>("speed");
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user