15 lines
322 B
C#
15 lines
322 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class SolarCursor : MonoBehaviour
|
|
{
|
|
[SerializeField] private Texture2D cursorTexture;
|
|
|
|
void Start()
|
|
{
|
|
Vector2 hotspot = new Vector2(0, 31);
|
|
Cursor.SetCursor(cursorTexture, hotspot, CursorMode.Auto);
|
|
}
|
|
}
|