Are you tired of manually configuring doors to spawn entities or skip rooms in your game? Look no further! This script provides a simple and efficient solution to automate this process.
This script is designed to simplify the process of spawning entities or skipping rooms when a door is opened. It allows you to easily configure doors to trigger specific actions, such as spawning enemies, items, or other entities, or skipping rooms to create a more dynamic and immersive gameplay experience. Doors Spawn Entities / Skip Rooms Script | Past...
// Function to spawn entity void SpawnEntity() // Instantiate entity at door position Instantiate(entityToSpawn, transform.position, Quaternion.identity); Are you tired of manually configuring doors to
Let me know if you want me to add anything else! such as spawning enemies
public class DoorScript : MonoBehaviour