Shorten game over text popup, make rope a little darker

This commit is contained in:
Jens Pitkänen 2020-06-13 02:18:04 +03:00
parent eb56148c8f
commit 7893187b8a
2 changed files with 3 additions and 3 deletions

View File

@ -490,7 +490,7 @@ Light:
m_Type: 2
m_Shape: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1
m_Intensity: 0.4
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
@ -532,7 +532,7 @@ Light:
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_BounceIntensity: 0
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}

View File

@ -8,7 +8,7 @@ public class GameOverVR : MonoBehaviour {
private void Update() {
DarknessVolume.weight = Mathf.Lerp(DarknessVolume.weight, GameState.Current == State.GameOver ? 1 : 0, 0.5f * Time.deltaTime);
if (DarknessVolume.weight >= 0.99) {
if (DarknessVolume.weight >= 0.9) {
SceneManager.LoadScene("Scenes/VRGameOverScene");
}
}