添加通过Modbus读取温湿度的设置
可通过用户界面调整地址
This commit is contained in:
18
BITKit/Scripts/UX/UXAnimateButton.cs
Normal file
18
BITKit/Scripts/UX/UXAnimateButton.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
namespace BITKit;
|
||||
public partial class UXAnimateButton : Button
|
||||
{
|
||||
[ExportCategory(nameof(ProgressBar))]
|
||||
[Export] private ProgressBar progressBar;
|
||||
[Export] private float progressDuration = 1f;
|
||||
public override void _Ready()
|
||||
{
|
||||
}
|
||||
|
||||
private void OnPressed()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user