发布于 2019-10-18 22:40:14
这是我想出来的解决方案,补丁编辑器还在使用中。
Diagnostics.log("Complete!");
var Timer_Value = Patches.getScalarValue('Timer');
var Timer_Text = Scene.root.find("Timer").text = Timer_Value.toString();
AudioBool = false;
Patches.setBooleanValue('AudioBool', AudioBool);我正在使用AudioBool来结束这种体验。This is the Patch editor view to start the timer. This is done by activating a boolean value within the script to start the timer.
另外:我可能会用一个格式化的计时器更新这个答案,比如00:00。
https://stackoverflow.com/questions/58442196
复制相似问题