跳至主要內容

EntityEvents.spawned

芒果凍布丁2025年5月25日小於 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/5/25 上午2:00:55
貢獻者: Mango