initial reload
This commit is contained in:
parent
3d9f0f7423
commit
fda3ca433b
5 changed files with 9 additions and 2 deletions
|
|
@ -81,6 +81,11 @@ public partial class Seedpacket : TextureButton
|
|||
{
|
||||
_timer.Start();
|
||||
}
|
||||
public void StartWithResourceOffset()
|
||||
{
|
||||
_timer.Start(_resource.ReloadTime * (1.0 - _resource.ReloadProgress)+0.05);
|
||||
Callable.From(()=>{ _timer.WaitTime = _resource.ReloadTime; }).CallDeferred();
|
||||
}
|
||||
|
||||
public void OnUnfocused()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue