Main plot - wizard letter - fix door

This commit is contained in:
Jakub Sztuba 2023-01-15 14:13:11 +01:00
parent 5594c1c996
commit 6d31162207
2 changed files with 4940 additions and 29 deletions

File diff suppressed because it is too large Load Diff

View File

@ -72,10 +72,14 @@ public class ChangeScene : MonoBehaviour
return;
}
}
if (collision.gameObject.tag == "SceneTransition")
{
collision.gameObject.GetComponent<DoorBehaviour>().ScenetToMoveTo();
}
if(collision.gameObject.tag == "AnimatedDoorSceneTransition")
}
if (collision.gameObject.tag == "AnimatedDoorSceneTransition")
{
if (TriggerDoor.ableToOpen)
{