mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Revert main menu change
This commit is contained in:
parent
d9b7297679
commit
1d6aefefd4
17
NewHorizons/Builder/Props/GeyserBuilder.cs
Normal file
17
NewHorizons/Builder/Props/GeyserBuilder.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NewHorizons.Builder.Props
|
||||
{
|
||||
public static class GeyserBuilder
|
||||
{
|
||||
public static void Make(GameObject body)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
5
NewHorizons/External/PropModule.cs
vendored
5
NewHorizons/External/PropModule.cs
vendored
@ -34,5 +34,10 @@ namespace NewHorizons.External
|
||||
public float scale { get; set; } = 1f;
|
||||
public bool alignToNormal;
|
||||
}
|
||||
|
||||
public class GeyserInfo
|
||||
{
|
||||
public MVector3 position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -213,29 +213,24 @@ namespace NewHorizons
|
||||
GameObject body1, body2, body3;
|
||||
|
||||
body1 = LoadTitleScreenBody(eligible[indices[0]]);
|
||||
body1.transform.localScale = Vector3.one * (body1.transform.localScale.x) * 0.4f;
|
||||
body1.transform.parent.localPosition = new Vector3(-0.3523f, 143.5564f, 31.8968f);
|
||||
body1.transform.localRotation = Quaternion.Euler(53.5006f, 207.0599f, 0f);
|
||||
|
||||
if (selectionCount > 1)
|
||||
{
|
||||
body1.transform.localScale = Vector3.one * (body1.transform.localScale.x) * 0.3f;
|
||||
body1.transform.localPosition = new Vector3(0, -20, 0);
|
||||
body2 = LoadTitleScreenBody(eligible[indices[1]]);
|
||||
body2.transform.localScale = Vector3.one * (body2.transform.localScale.x) * 0.4f;
|
||||
body2.transform.parent.localPosition = new Vector3(-33.3091f, 110.2332f, -30.9288f);
|
||||
body2.transform.localRotation = Quaternion.Euler(346.7481f, 143.6107f, 5.3171f);
|
||||
body2.transform.localScale = Vector3.one * (body2.transform.localScale.x) * 0.3f;
|
||||
body2.transform.localPosition = new Vector3(7, 40, 0);
|
||||
}
|
||||
if (selectionCount > 2)
|
||||
{
|
||||
body3 = LoadTitleScreenBody(eligible[indices[2]]);
|
||||
body3.transform.localScale = Vector3.one * (body3.transform.localScale.x) * 0.4f;
|
||||
body3.transform.parent.localPosition = new Vector3(-7.8373f, 136.6149f, -7.1662f);
|
||||
body3.transform.localRotation = Quaternion.Euler(350.0425f, 254.7936f, 353.324f);
|
||||
body3.transform.localScale = Vector3.one * (body3.transform.localScale.x) * 0.3f;
|
||||
body3.transform.localPosition = new Vector3(-5, 10, 0);
|
||||
}
|
||||
|
||||
//GameObject.Find("Scene/Background/PlanetPivot/Prefab_HEA_Campfire").SetActive(false);
|
||||
//GameObject.Find("Scene/Background/PlanetPivot/PlanetRoot").SetActive(false);
|
||||
GameObject.Find("Scene/Background/PlanetPivot/Prefab_HEA_Campfire").SetActive(false);
|
||||
GameObject.Find("Scene/Background/PlanetPivot/PlanetRoot").SetActive(false);
|
||||
|
||||
/*
|
||||
var lightGO = new GameObject("Light");
|
||||
lightGO.transform.parent = GameObject.Find("Scene/Background").transform;
|
||||
lightGO.transform.localPosition = new Vector3(-47.9203f, 145.7596f, 43.1802f);
|
||||
@ -243,7 +238,6 @@ namespace NewHorizons
|
||||
light.color = new Color(1f, 1f, 1f, 1f);
|
||||
light.range = 100;
|
||||
light.intensity = 0.8f;
|
||||
*/
|
||||
}
|
||||
|
||||
private GameObject LoadTitleScreenBody(NewHorizonsBody body)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user