chore: 更新仓库 URL (ecs-framework → esengine)
仓库已从 esengine/ecs-framework 重命名为 esengine/esengine 更新所有引用旧 URL 的文件
This commit is contained in:
@@ -38,7 +38,7 @@ const player = scene.createEntity("Player");
|
||||
实体通过添加组件来获得功能:
|
||||
|
||||
```typescript
|
||||
import { Component, ECSComponent } from '@esengine/ecs-framework';
|
||||
import { Component, ECSComponent } from '@esengine/esengine';
|
||||
|
||||
// 定义位置组件
|
||||
@ECSComponent('Position')
|
||||
|
||||
Reference in New Issue
Block a user