chore: 更新仓库 URL (ecs-framework → esengine)
仓库已从 esengine/ecs-framework 重命名为 esengine/esengine 更新所有引用旧 URL 的文件
This commit is contained in:
@@ -200,7 +200,7 @@ function processSharedArrayBuffer(startIndex, endIndex, deltaTime, systemConfig)
|
||||
### 步骤 3:使用 WorkerEntitySystem
|
||||
|
||||
```typescript
|
||||
import { WorkerEntitySystem, Matcher, Entity } from '@esengine/ecs-framework';
|
||||
import { WorkerEntitySystem, Matcher, Entity } from '@esengine/esengine';
|
||||
|
||||
interface PhysicsData {
|
||||
id: number;
|
||||
@@ -295,7 +295,7 @@ import type {
|
||||
PlatformWorker,
|
||||
WorkerCreationOptions,
|
||||
PlatformConfig
|
||||
} from '@esengine/ecs-framework';
|
||||
} from '@esengine/esengine';
|
||||
|
||||
/**
|
||||
* 微信小游戏平台适配器
|
||||
@@ -430,7 +430,7 @@ class WeChatWorker implements PlatformWorker {
|
||||
## 注册适配器
|
||||
|
||||
```typescript
|
||||
import { PlatformManager } from '@esengine/ecs-framework';
|
||||
import { PlatformManager } from '@esengine/esengine';
|
||||
import { WeChatMiniGameAdapter } from './platform/WeChatMiniGameAdapter';
|
||||
|
||||
// 在游戏启动时注册适配器
|
||||
|
||||
Reference in New Issue
Block a user