This commit is contained in:
CortexCore
2023-07-05 14:27:08 +08:00
parent 0faf999071
commit 82f6504848
2 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ public partial class ProductionAnimation : ScriptableAnimation
{
var currentNode =GetNode<Control>( visibleNodes[i]);
var threshold = (i+1) / (float)visibleNodes.Count * 100;
GD.Print($"当前Node:{currentNode.Name},阈值{threshold} / {newValue}");
//GD.Print($"当前Node:{currentNode.Name},阈值{threshold} / {newValue}");
if (threshold <= newValue)
{
currentNode.Show();