refactor: 组件中的 ITextureManager 和 IMapRenderer 从 inject 中获取默认值

This commit is contained in:
AncTe committed 2026-11-25 16:25:32 +08:00
1 parent 65b6b24b1f
commit ba90ce6dac
16 files changed
+153 -83

No files matched your search

+1 -1
View File
@@ -276,7 +276,7 @@ export const EnemyOne = defineComponent<IEnemyOneProps>(props => {
/>
<Icon
icon={enemy.value?.code ?? 0}
manager={props.materials}
materials={props.materials}
loc={[ICON_CENTER, height.value / 2, ICON_SIZE, ICON_SIZE]}
anc={[0.5, 0.5]}
noevent