声明 func CreateFromPrefab(out var createdEntity entity<Entity>, prefab PrefabID) go 参数 输入 名称 类型 描述 预制体ID PrefabID 预制体ID 输出 名称 类型 描述 创建的实体 Entity 创建的实体