Start on building out final scene
This commit is contained in:
@@ -17,11 +17,11 @@ public class DoorManager : MonoBehaviour, IDescribable
|
||||
{
|
||||
if (mod == "BLUE")
|
||||
{
|
||||
this.GetComponent<Renderer>().material = blueMaterial;
|
||||
this.GetComponentInChildren<Renderer>().material = blueMaterial;
|
||||
}
|
||||
else if (mod == "RED")
|
||||
{
|
||||
this.GetComponent<Renderer>().material = redMaterial;
|
||||
this.GetComponentInChildren<Renderer>().material = redMaterial;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user