mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Main menu light
This commit is contained in:
parent
3a86e0caea
commit
1f35d085ed
@ -67,8 +67,9 @@ namespace NewHorizons.Handlers
|
|||||||
lightGO.transform.parent = SearchUtilities.Find("Scene/Background").transform;
|
lightGO.transform.parent = SearchUtilities.Find("Scene/Background").transform;
|
||||||
lightGO.transform.localPosition = new Vector3(-47.9203f, 145.7596f, 43.1802f);
|
lightGO.transform.localPosition = new Vector3(-47.9203f, 145.7596f, 43.1802f);
|
||||||
var light = lightGO.AddComponent<Light>();
|
var light = lightGO.AddComponent<Light>();
|
||||||
light.color = new Color(1f, 1f, 1f, 1f);
|
light.type = LightType.Directional;
|
||||||
light.range = 100;
|
light.color = Color.white;
|
||||||
|
light.range = float.PositiveInfinity;
|
||||||
light.intensity = 0.8f;
|
light.intensity = 0.8f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user