mirror of
https://github.com/motajs/template.git
synced 2026-12-02 20:24:31 +08:00
refactor: 组件中的 ITextureManager 和 IMapRenderer 从 inject 中获取默认值
This commit is contained in:
1 parent
65b6b24b1f
commit
ba90ce6dac
16 files changed
+153
-83
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user