fix reflection probes

This commit is contained in:
ntr committed 2023-09-19 12:48:17 +10:00
1 parent 58bbd1a2f7
commit 25917f5b44
36 files changed
+664 -324

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
<Style src="project://database/Assets/Src/UI/Menu.uss?fileID=7433441132597879392&amp;guid=144cc2c04c975bad88fb864cea91f099&amp;type=3#Menu" />
<Style src="project://database/Assets/Src/UI/Global.uss?fileID=7433441132597879392&amp;guid=000591923dc977463bf0fd9f4e7d463e&amp;type=3#Global" />
<ui:VisualElement name="main" class="nav" style="flex-grow: 1;">
<ui:VisualElement name="logo" style="-unity-background-scale-mode: scale-and-crop;" />
<ui:VisualElement name="logo" style="-unity-background-scale-mode: scale-to-fit; background-image: url(&apos;project://database/Assets/Images/SpaceRace.Logo.png?fileID=2800000&amp;guid=ae2be62fce183734f8c152bdb637d3b1&amp;type=3#SpaceRace.Logo&apos;); margin-left: 24px;" />
<ui:VisualElement name="body" style="flex-direction: row; height: 100%;">
<ui:VisualElement name="left" style="flex-grow: 0; flex-basis: 50%;">
<ui:VisualElement name="tracksCtr" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0);">
+4 -1
View File
@@ -21,12 +21,15 @@ public class MenuUI : MonoBehaviour {
public void AddTracks() {
SetupExit();
Scene current = SceneManager.GetActiveScene();
tracks = uiDocument.rootVisualElement.Q<VisualElement>("tracks");
tracks.Clear();
for (int i = 0; i < SceneManager.sceneCountInBuildSettings; ++i) {
int j = i; // top kek
int j = i; // top kek some pass by value thing ask liam
Scene scene = SceneManager.GetSceneByBuildIndex(i);
if (scene.name == current.name) continue;
string scenePath = SceneUtility.GetScenePathByBuildIndex(i);
string sceneName = Path.GetFileNameWithoutExtension(scenePath);
Button button = new Button { text = sceneName };
+3 -4
View File
@@ -28,11 +28,10 @@ public class TimingUI : MonoBehaviour {
bool ShouldHide => timing?.sectors.Count() == 0;
static string[] completionMsgs = {
"smooth",
"very fast",
"well done",
"ナイス",
"(⌐▨_▨)",
"^____^",
"(^ _ ^)",
"-ˏ`★ˎ`-",
};
void OnEnable() {