Main plot - wizard letter - fix door
This commit is contained in:
parent
5594c1c996
commit
6d31162207
File diff suppressed because it is too large
Load Diff
@ -72,10 +72,14 @@ public class ChangeScene : MonoBehaviour
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if (collision.gameObject.tag == "SceneTransition")
|
||||||
|
{
|
||||||
collision.gameObject.GetComponent<DoorBehaviour>().ScenetToMoveTo();
|
collision.gameObject.GetComponent<DoorBehaviour>().ScenetToMoveTo();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(collision.gameObject.tag == "AnimatedDoorSceneTransition")
|
if (collision.gameObject.tag == "AnimatedDoorSceneTransition")
|
||||||
{
|
{
|
||||||
if (TriggerDoor.ableToOpen)
|
if (TriggerDoor.ableToOpen)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user