Skip to content

Commit

Permalink
Fix loop property in skeleton not shown in inspector panel (#18064)
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxHuang authored Dec 20, 2024
1 parent 119b570 commit 1b5b5f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cocos/spine/skeleton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ export class Skeleton extends UIRenderer {
* @en Whether play animations in loop mode.
* @zh 是否循环播放当前骨骼动画。
*/
@visible(true)
@serializable
public loop = true;

Expand Down

0 comments on commit 1b5b5f3

Please sign in to comment.