This commit is contained in:
CortexCore
2025-02-24 23:02:43 +08:00
parent 41715e4413
commit 8261a458e2
105 changed files with 2934 additions and 696 deletions

View File

@@ -203,6 +203,14 @@ namespace BITKit
BITApp.Time.DeltaTime = Time.deltaTime;
BITApp.Time.TimeAsDouble = Time.timeAsDouble;
allowCursor = AllowCursor.Allow;
if (Touchscreen.current is not null && Touchscreen.current.IsPressed())
{
AllowCursor.AddElement(int.MaxValue);
}else if (Mouse.current is not null && Mouse.current.IsPressed())
{
AllowCursor.RemoveElement(int.MaxValue);
}
}
public string GetName()