19 lines
429 B
C#
19 lines
429 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class ResetFramesButton : Button
|
|
{
|
|
// Called when the node enters the scene tree for the first time.
|
|
public override void _Ready()
|
|
{
|
|
TAS_System TAS = GetNode<TAS_System>("/root/TAS_System");
|
|
this.Pressed += () => { TAS.ResetFrameCount(); };
|
|
}
|
|
|
|
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
public override void _Process(double delta)
|
|
{
|
|
|
|
}
|
|
}
|