Initial commit: AetherBags + KamiToolKit for FC Gitea
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System.Numerics;
|
||||
using KamiToolKit.Enums;
|
||||
using KamiToolKit.Timelines;
|
||||
|
||||
namespace KamiToolKit.Nodes;
|
||||
|
||||
public class CursorNode : ResNode {
|
||||
|
||||
public readonly SimpleImageNode CursorImageNode;
|
||||
|
||||
public CursorNode() {
|
||||
CursorImageNode = new SimpleImageNode {
|
||||
NodeId = 3,
|
||||
TexturePath = "ui/uld/TextInputA.tex",
|
||||
Size = new Vector2(4.0f, 24.0f),
|
||||
TextureCoordinates = new Vector2(68.0f, 0.0f),
|
||||
TextureSize = new Vector2(4.0f, 24.0f),
|
||||
WrapMode = WrapMode.Tile,
|
||||
};
|
||||
CursorImageNode.AttachNode(this);
|
||||
|
||||
CursorImageNode.AddTimeline(new TimelineBuilder()
|
||||
.BeginFrameSet(1, 8)
|
||||
.AddEmptyFrame(1)
|
||||
.EndFrameSet()
|
||||
.Build());
|
||||
|
||||
Timeline?.PlayAnimation(101);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user