23 lines
443 B
C#
23 lines
443 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class CursorChangeController : MonoBehaviour
|
||
|
|
{
|
||
|
|
|
||
|
|
[SerializeField] Texture2D cursor;
|
||
|
|
|
||
|
|
// Start is called before the first frame update
|
||
|
|
void Start()
|
||
|
|
{
|
||
|
|
Cursor.visible = true;
|
||
|
|
Cursor.SetCursor(cursor, Vector2.zero, CursorMode.ForceSoftware);
|
||
|
|
}
|
||
|
|
|
||
|
|
// Update is called once per frame
|
||
|
|
void Update()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|