Key Spawner
A Prop Spawner variant focused on spawning Key items for locks.
Introduction
Key Spawner is a special Prop Spawner dedicated to spawning Key items, so players can pick up keys for doors and locks. Pair the spawned keys with a Lock by matching channels: the Key Type / Password channel on the key and the channel on the Lock must be the same, or the lock will never recognize the key. The key items themselves live on the Key asset page. The Key Spawner component panel in the Uni editor Image caption
How to Access
Shortcut: open the Asset Panel, go to the Device tab, Others category, and click the Key Spawner block. It spawns a dispenser that hands out key items to players, with the Key Spawner component already attached and ready to configure. How to Access - the Key Spawner block in Asset Panel > Device > Others
Properties
Key The key asset to spawn. Key Mode Enum Whether the key works by Channel ID or by typed Password. Key Type / Password String The channel ID or the password text the key carries. Prop Model Which 3D key model appears in the world. Cooldown, Trigger Mode, Interact Text Mixed Spawn timing and how players pick the key up. Spawn Control Channel The signal channel that controls when the prop respawns. Deprecated. Use a script instead. Property Type Description Every property on the Key Spawner component.
Events
Key Spawner has no events.
Commands
Key Spawner has no commands.
Example
Use the Key Spawner to open a door Key Spawner - Simple Example