Start to integrate the artwork

This commit is contained in:
WillJeynes
2026-08-28 20:24:18 +01:00
parent 88b0426f11
commit 0f407509c4
43 changed files with 13412 additions and 43 deletions
+7 -2
View File
@@ -15,17 +15,22 @@ public class DoorManager : MonoBehaviour, IDescribable
private Light focusLight;
public int isfocussed;
private LightFlickerer indicatorLight;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
indicatorLight = transform.FindChildRecursive("IndicatorLight").GetComponent<LightFlickerer>();
if (mod == "BLUE")
{
this.GetComponentInChildren<Renderer>().material = blueMaterial;
// this.GetComponentInChildren<Renderer>().material = blueMaterial;
indicatorLight.initialColor = Color.blue;
}
else if (mod == "RED")
{
this.GetComponentInChildren<Renderer>().material = redMaterial;
// this.GetComponentInChildren<Renderer>().material = redMaterial;
indicatorLight.initialColor = Color.red;
}
focusLight = transform.FindChildRecursive("FocusLight").GetComponent<Light>();