Skip to content

Cursor

Cursor control for C# scripts: Cursor.lockState = CursorLockMode.Locked; // FPS look if (Input.GetKeyDown(KeyCode.Escape)) Cursor.lockState = CursorLockMode.None; Cursor.visible…

Kolpa.Engine.Cursor

public static class Cursor
{
public static CursorLockMode lockState { get; set; }
public static bool visible { get; set; }
}