TO SQUASH: Added cursor setter.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class CursorSetter : MonoBehaviour
|
||||
{
|
||||
public Texture2D cursorTexture;
|
||||
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
Cursor.SetCursor(cursorTexture, new Vector2(3, 3), CursorMode.Auto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user