Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add prefab & spine preview related docs #3103

Merged
merged 2 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions versions/3.8/en/asset/prefab.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ After the creation is complete, the original __Node__ will automatically become

![create-prefab](prefab/create-prefab.gif)

## Prefab Preview

In version 3.8.5, we have added preview support to the inspector panel of Prefab. After users select a certain prefab, they can view the rendering content of the Prefab in the panel, which can greatly improve the efficiency of resource inspection.

![preview](prefab/prefab-preview.png)

## Using Prefabs

Drag a __Prefab Asset__ from the __Assets__ panel to the __Hierarchy__ panel or __Scene__ panel to create a __Prefab Node__ in the __Scene__.
Expand Down
Binary file added versions/3.8/en/asset/prefab/prefab-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions versions/3.8/en/asset/spine.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ The assets required for skeletal animation are:

![spine](spine/import.png)

## Spine Preview

In version 3.8.5, we have added preview support to the inspector panel of Spine. After users select a certain Spine file, they can see the corresponding rendering content in the panel, which can greatly improve the efficiency of resource inspection.

![preview](spine/spine-preview.png)

## Create Skeletal Animation

Drag the skeletal animation asset from the **Assets** panel to the `SkeletonData` property of the spine component in the **Inspector** panel.
Expand Down
Binary file added versions/3.8/en/asset/spine/spine-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions versions/3.8/zh/asset/prefab.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@

![persistent](prefab/persistent.png)

## 预览

在 v3.8.5 中,我们在 Prefab 的属性查看器面板中,添加了预览支持。用户选中某个预制体后,就可以在面板中看到 Prefab 的渲染内容,能够极大地提升资源检查效率。
![preview](prefab/prefab-preview.png)

## 使用预制件

将预制件资源从 **资源管理器** 拖拽到 **层级管理器** 或 **场景编辑器**,即可在场景中生成一个预制件的实例。<br>
Expand Down
Binary file added versions/3.8/zh/asset/prefab/prefab-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 9 additions & 3 deletions versions/3.8/zh/asset/spine.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 骨骼动画资源(Spine
# Spine 动画资源

Creator 中的骨骼动画资源是由 [Spine 编辑器](http://zh.esotericsoftware.com/) 导出的,目前支持 [JSON](http://zh.esotericsoftware.com/spine-export/#JSON) 和 [二进制](http://zh.esotericsoftware.com/spine-export/#%E4%BA%8C%E8%BF%9B%E5%88%B6) 两种数据格式。

Expand All @@ -12,7 +12,7 @@ Creator 中的骨骼动画资源是由 [Spine 编辑器](http://zh.esotericsoftw
| v2.0.8~v2.1 | v3.6 |
| v2.0.7 及以下 | v2.5 |

## 导入骨骼动画资源
## 导入 Spine 骨骼动画资源

骨骼动画所需资源有:

Expand All @@ -22,7 +22,13 @@ Creator 中的骨骼动画资源是由 [Spine 编辑器](http://zh.esotericsoftw

![spine](spine/import.png)

## 创建骨骼动画
## Spine 预览

在 v3.8.5 中,我们在 Spine 的属性查看器面板中,添加了预览支持。用户选中某个 Spine 文件后,就可以在面板中看到对应的渲染内容,能够极大地提升资源检查效率。

![preview](spine/spine-preview.png)

## 创建 Spine 骨骼动画

从 **资源管理器** 中将骨骼动画资源拖动到 **属性检查器** Spine 组件的 SkeletonData 属性中:

Expand Down
Binary file added versions/3.8/zh/asset/spine/spine-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.