2023-11-11 13:11:27 -07:00
|
|
|
using Godot;
|
|
|
|
using System;
|
|
|
|
|
|
|
|
public partial class TAS_test_001 : Node
|
|
|
|
{
|
|
|
|
|
|
|
|
public override void _Ready()
|
|
|
|
{
|
|
|
|
// Called every time the node is added to the scene.
|
|
|
|
// Initialization here.
|
|
|
|
GD.Print("Hello from C# to Godot :)");
|
|
|
|
|
2023-11-11 14:47:07 -07:00
|
|
|
TAS_System TAS = GetNode<TAS_System>("/root/TAS_System");
|
2023-11-11 13:11:27 -07:00
|
|
|
|
2023-11-11 14:47:07 -07:00
|
|
|
TAS.FrameLength = 1.5;
|
|
|
|
|
|
|
|
TAS.StartIncrementingFrames();
|
|
|
|
|
|
|
|
// TAS.FrameIncremented += (x) => GD.Print(x);
|
2023-11-11 13:11:27 -07:00
|
|
|
|
|
|
|
// TAS.Test();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void Test2(string testStr2)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|