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();

View File

@ -854,10 +854,10 @@ libraries = {
[connection signal="draw" from="HBoxContainer/VideoStreamPlayer" to="HBoxContainer/VideoStreamPlayer" method="Enable"]
[connection signal="finished" from="HBoxContainer/VideoStreamPlayer" to="HBoxContainer/VideoStreamPlayer" method="play"]
[connection signal="hidden" from="HBoxContainer/VideoStreamPlayer" to="HBoxContainer/VideoStreamPlayer" method="Disable"]
[connection signal="pressed" from="HBoxContainer/生产步骤/Button" to="HBoxContainer/注册过程/TabContainer" method="set_current_tab"]
[connection signal="pressed" from="HBoxContainer/生产步骤/Button4" to="HBoxContainer/注册过程/TabContainer" method="set_current_tab"]
[connection signal="pressed" from="HBoxContainer/生产步骤/Button2" to="HBoxContainer/注册过程/TabContainer" method="set_current_tab"]
[connection signal="pressed" from="HBoxContainer/生产步骤/Button3" to="HBoxContainer/注册过程/TabContainer" method="set_current_tab"]
[connection signal="pressed" from="HBoxContainer/生产步骤/Button" to="HBoxContainer/生产过程/TabContainer" method="set_current_tab" binds= [1]]
[connection signal="pressed" from="HBoxContainer/生产步骤/Button4" to="HBoxContainer/生产过程/TabContainer" method="set_current_tab" binds= [2]]
[connection signal="pressed" from="HBoxContainer/生产步骤/Button2" to="HBoxContainer/生产过程/TabContainer" method="set_current_tab" binds= [3]]
[connection signal="pressed" from="HBoxContainer/生产步骤/Button3" to="HBoxContainer/生产过程/TabContainer" method="set_current_tab" binds= [4]]
[connection signal="pressed" from="HBoxContainer/生产步骤/Button5" to="HBoxContainer/注册过程/TabContainer" method="set_current_tab"]
[connection signal="draw" from="HBoxContainer/生产过程/TabContainer/UV打印" to="HBoxContainer/生产过程/TabContainer/UV打印" method="Enable"]
[connection signal="hidden" from="HBoxContainer/生产过程/TabContainer/UV打印" to="HBoxContainer/生产过程/TabContainer/UV打印" method="Disable"]