14 lines
326 B
C#
14 lines
326 B
C#
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);
|
|
}
|
|
}
|