Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
JiepengTan committed Aug 13, 2024
1 parent 5ff12bf commit 554822c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,16 +215,16 @@ type aniConfig struct {
StepDuration float64 `json:"stepDuration"`
TurnToDuration float64 `json:"turnToDuration"`

AniType aniTypeEnum `json:"anitype"`
OnStart *actionConfig `json:"onStart"` //start
OnPlay *actionConfig `json:"onPlay"` //play
AniType aniTypeEnum `json:"anitype"`
OnStart *actionConfig `json:"onStart"` //start
OnPlay *actionConfig `json:"onPlay"` //play
//OnEnd *actionConfig `json:"onEnd"` //stop
IsLoop bool `json:"isLoop"`
IsKeepOnStop bool `json:"isKeepOnStop"` //After finishing playback, it stays on the last frame and does not need to switch to the default animation
IsLoop bool `json:"isLoop"`
IsKeepOnStop bool `json:"isKeepOnStop"` //After finishing playback, it stays on the last frame and does not need to switch to the default animation

AnimatorType string `json:"type"` // extention for skeleton animation
ClipName string `json:"clipName"`
ClipSpeed float64 `json:"clipSpeed"`
AnimatorType string `json:"type"` // extention for skeleton animation
ClipName string `json:"clipName"`
ClipSpeed float64 `json:"clipSpeed"`
}

// -------------------------------------------------------------------------------------
Expand Down

0 comments on commit 554822c

Please sign in to comment.