feat(editor): 添加 ECS UI 系统和编辑器更新优化 (#238)

This commit is contained in:
YHH
2025-11-26 11:08:10 +08:00
committed by GitHub
parent 3fb6f919f8
commit 7b14fa2da4
62 changed files with 8745 additions and 235 deletions

View File

@@ -10,7 +10,7 @@ import type { AssetReference } from '@esengine/asset-system';
export class SpriteComponent extends Component {
/** 纹理路径或资源ID | Texture path or asset ID */
@Serialize()
@Property({ type: 'asset', label: 'Texture', fileExtension: '.png' })
@Property({ type: 'asset', label: 'Texture', assetType: 'texture' })
public texture: string = '';
/**