1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-01 00:41:54 +08:00

feat(UI): 添加显示实体属性的面板和动画效果

添加新的输入动作"showFields"用于显示/隐藏实体属性面板
创建新的FieldShow组件用于显示实体属性值
为属性面板添加显示/隐藏动画效果
调整EntityBase中属性初始化的顺序
This commit is contained in:
2025-08-28 13:58:31 +08:00
parent 62aa9995a9
commit aa533509a5
7 changed files with 194 additions and 31 deletions
+1 -1
View File
@@ -10,4 +10,4 @@ static func randv2_range(offset: float):
static func randc_from(array: Array):
return array[randi() % array.size()]
static func signBeforeStr(value: float):
return ("+" if value > 0 else "-" if value < 0 else "") + str(abs(value))
return ("+" if value > 0 else "-" if value < 0 else "") + str(abs(value))