Add custom cursors

This commit is contained in:
2023-07-09 16:49:21 +02:00
parent 8343609794
commit e15d9f610e
20 changed files with 1001 additions and 32 deletions

View File

@@ -14,16 +14,16 @@ public class Journal : MonoBehaviour
public Transform questPage;
private int m_selectedAdventurer = 0;
// Start is called before the first frame update
void Start()
void OnMouseEnter()
{
GameManager.Instance.uiManager.SetCursor(GameManager.Instance.m_lookCursor);
}
// Update is called once per frame
void Update()
void OnMouseExit()
{
GameManager.Instance.uiManager.SetCursor(GameManager.Instance.m_defaultCursor);
}
private void OnMouseDown()