- 添加 ITimerService 接口和 TimerService 实现 - 支持一次性定时器和重复定时器 - 支持冷却系统 (startCooldown/isCooldownReady/getCooldownProgress) - 添加 8 个蓝图节点: - StartCooldown, IsCooldownReady, GetCooldownProgress - ResetCooldown, GetCooldownInfo - HasTimer, CancelTimer, GetTimerRemaining
15 lines
299 B
TypeScript
15 lines
299 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: ['src/index.ts'],
|
|
format: ['esm'],
|
|
dts: true,
|
|
sourcemap: true,
|
|
clean: true,
|
|
external: [
|
|
'@esengine/ecs-framework',
|
|
'@esengine/blueprint'
|
|
],
|
|
tsconfig: 'tsconfig.build.json'
|
|
});
|