init
This commit is contained in:
commit
102013b228
1443 changed files with 1065651 additions and 0 deletions
14
Assets/Scripts/CursorController.cs
Normal file
14
Assets/Scripts/CursorController.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class CursorController : MonoBehaviour
|
||||
{
|
||||
[SerializeField] Texture2D cursor;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
Cursor.SetCursor(cursor, Vector2.zero, CursorMode.ForceSoftware);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue