希望导入的图片默认为 sprite-frame 类型,那么便可以点击该项右侧的 编辑 按钮,然后在打开的 json 文件中填入以下内容:

json
{

// image 表示资源的类型为图片
"image": {
    "type": "sprite-frame"
}

}

编辑完成并保存后,返回编辑器,点击 应用 按钮即可生效
https://docs.cocos.com/creator/3.8/manual/zh/editor/preferences/

标签: none

添加新评论