Skip to content

Commit d5bfea2

Browse files
committed
[unity] Minor: updated upgrade guide documentation (typos fixed) provided by wiige on the forum.
1 parent 632fb22 commit d5bfea2

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

spine-unity/Assets/Spine/Documentation/4.3-split-component-upgrade-guide-zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686

8787
### 阶段 1: 升级至 4.3-beta 非模块化组件版本
8888

89-
First upgrade to a 4.3-beta version before the component split changes:
89+
第一步是升级至 4.3-beta 非模块化组件版本:
9090

9191
* **Commit Hash**: `a07b1de`
9292
* **使用 Git URL 添加包**: `https://github.com/EsotericSoftware/spine-runtimes.git?path=spine-csharp/src#a07b1de`

spine-unity/Assets/Spine/Documentation/4.3-split-component-upgrade-guide.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
## Component Architecture Restructuring
33

44
> **Note:** You can find Chinese and Japanese translations of this upgrade guide right next to this file.
5-
> * [中文版 4.3 分体组件升级指南 - Chinese 4.3 Split Component Upgrade Guide](https://github.com/EsotericSoftware/spine-runtimes/tree/4.3-beta/spine-unity/Assets/Spine/Documentation/4.3-split-component-upgrade-guide-zh.md)
5+
>
6+
> * [中文版 4.3 模块化组件升级指南 - Chinese 4.3 Split Component Upgrade Guide](https://github.com/EsotericSoftware/spine-runtimes/tree/4.3-beta/spine-unity/Assets/Spine/Documentation/4.3-split-component-upgrade-guide-zh.md)
67
> * [日本語版 4.3 分割コンポーネントアップグレードガイド - Japanese 4.3 Split Component Upgrade Guide](https://github.com/EsotericSoftware/spine-runtimes/tree/4.3-beta/spine-unity/Assets/Spine/Documentation/4.3-split-component-upgrade-guide-ja.md)
78
89
---
@@ -36,7 +37,7 @@ All component settings and fields will be automatically transferred - nothing wi
3637

3738
**However:** Due to these type changes, existing references in your custom scripts may be lost because the component types no longer match (e.g., `SkeletonAnimation` is no longer a subclass of `SkeletonRenderer`).
3839

39-
### Required Upgrade Steps (In Order):
40+
### Required Upgrade Steps (In Order)
4041

4142
1. **🔒 BACKUP YOUR PROJECT**
4243
Create a complete backup before upgrading. These changes will modify your scenes and prefabs.
@@ -71,7 +72,7 @@ All component settings and fields will be automatically transferred - nothing wi
7172
- Under "Upgrade Scenes & Prefabs"
7273
- Click `Upgrade All` button
7374

74-
### What Will Break If You Don't Prepare:
75+
### What Will Break If You Don't Prepare
7576
- Component references in scenes or prefabs may be lost (set to null) once you save your scenes or prefabs
7677
- Building before upgrading all scenes/prefabs may result in missing components in the build
7778

@@ -108,15 +109,15 @@ This two-step approach helps isolate issues - if something breaks, you'll know w
108109

109110
The spine-unity 4.3 runtime introduces a major architectural change: **separation of animation from rendering by using two separate components instead of component inheritance**. This enables flexible combinations like using `SkeletonMecanim` for animation with `SkeletonGraphic` for rendering, which was previously not possible.
110111

111-
### Key Changes:
112+
### Key Changes
112113
- **Component Split**: The previously monolithic components have been split into separate rendering and animation components.
113114
- **Separate Components**: `SkeletonAnimation` and `SkeletonMecanim` no longer inherit from `SkeletonRenderer`. They now work alongside a separate renderer component (a subclass of `ISkeletonRenderer`), such as `SkeletonRenderer` and `SkeletonGraphic`.
114115
- **Interface Updates**: New `ISkeletonRenderer` and `ISkeletonAnimation` interfaces with updated property names.
115116
- **Settings Grouping**: Mesh generation settings are now grouped under `MeshSettings` property.
116117
- **Automatic Migration**: The Unity Editor will automatically upgrade your components to the new split components and transfer deprecated fields when `AUTO_UPGRADE_TO_43_COMPONENTS` is defined (*the default*).
117118
- **Upgrade all Scenes and Prefabs**: To upgrade all scenes and prefabs at once, go to `Edit - Preferences - Spine` and under `Automatic Component Upgrade` hit `Upgrade Scenes & Prefabs` - `Upgrade All`.
118119

119-
### Component Relationships:
120+
### Component Relationships
120121

121122
| **Old Architecture** | **New Architecture** |
122123
|---------------------|---------------------|

0 commit comments

Comments
 (0)