initial commit
This commit is contained in:
13
Assets/Scripts/CursorSet.cs
Normal file
13
Assets/Scripts/CursorSet.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class CursorSet : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private Texture2D cursorTexture;
|
||||
private void Start()
|
||||
{
|
||||
Vector2 hotSpot = new Vector2(0, 0);
|
||||
Cursor.SetCursor(cursorTexture, hotSpot, CursorMode.Auto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user