fix reflection probes
This commit is contained in:
1 parent
58bbd1a2f7
commit
25917f5b44
36 files changed
+664
-324
No files matched your search
@@ -2,7 +2,7 @@
|
||||
<Style src="project://database/Assets/Src/UI/Menu.uss?fileID=7433441132597879392&guid=144cc2c04c975bad88fb864cea91f099&type=3#Menu" />
|
||||
<Style src="project://database/Assets/Src/UI/Global.uss?fileID=7433441132597879392&guid=000591923dc977463bf0fd9f4e7d463e&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('project://database/Assets/Images/SpaceRace.Logo.png?fileID=2800000&guid=ae2be62fce183734f8c152bdb637d3b1&type=3#SpaceRace.Logo'); 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);">
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -28,11 +28,10 @@ public class TimingUI : MonoBehaviour {
|
||||
bool ShouldHide => timing?.sectors.Count() == 0;
|
||||
|
||||
static string[] completionMsgs = {
|
||||
"smooth",
|
||||
"very fast",
|
||||
"well done",
|
||||
"ナイス",
|
||||
"(⌐▨_▨)",
|
||||
"^____^",
|
||||
"(^ _ ^)",
|
||||
"-ˏ`★ˎ`-",
|
||||
};
|
||||
|
||||
void OnEnable() {
|
||||
|
||||
Reference in new issue
Block a user