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,6 +72,10 @@ public class ChangeScene : MonoBehaviour
return; return;
} }
}
if (collision.gameObject.tag == "SceneTransition")
{
collision.gameObject.GetComponent<DoorBehaviour>().ScenetToMoveTo(); collision.gameObject.GetComponent<DoorBehaviour>().ScenetToMoveTo();
} }