跳至主要內容

EntityEvents.spawned

芒果凍布丁2025年3月29日小於 1 分鐘

/**
 * Invoked when an entity is about to be added to the world.
 * 
 * This event also fires for existing entities when they are loaded from a save.
 */
function spawned(extra: $ResourceKey$$Type<($EntityType<(object)>)>, handler: (event: $EntitySpawnedKubeEvent) => void): void
function spawned(handler: (event: $EntitySpawnedKubeEvent) => void): void
上次編輯於: 2025/3/29 上午5:04:42
貢獻者: Mango