1
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user