alter vatter
This commit is contained in:
16
CurrentTimeLine.cs
Normal file
16
CurrentTimeLine.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Godot;
|
||||
using yourareanaiceo;
|
||||
|
||||
public partial class CurrentTimeLine : Panel
|
||||
{
|
||||
[Export]
|
||||
float speed = 2f;
|
||||
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
var pos = OffsetTransformPosition;
|
||||
pos.Y += speed * delta.toFloat();
|
||||
|
||||
OffsetTransformPosition = pos;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user