Doors Spawn Entities / Skip Rooms Script | Past... -
Let me know if you want me to add anything else!
// Function to open door public void OpenDoor() isDoorOpened = true; Doors Spawn Entities / Skip Rooms Script | Past...
// Room to skip when door is opened public string roomToSkip; Let me know if you want me to add anything else
// Function to spawn entity void SpawnEntity() // Instantiate entity at door position Instantiate(entityToSpawn, transform.position, Quaternion.identity); Doors Spawn Entities / Skip Rooms Script | Past...