Mouse Cursor1 Unity 마우스커서 변경 Unity 마우스커서 변경using UnityEngine;public class Player : MonoBehaviour{ [SerializeField] Texture2D cursorHover; [SerializeField] Texture2D cursorNormal; void Start() { Cursor.SetCursor(cursorNormal, Vector2.zero, CursorMode.ForceSoftware); } private void OnMouseOver() { Cursor.SetCursor(cursorHover, new Vector2(cursorHover.width/4,0), CursorMode.ForceSoftware); .. 2022. 10. 24. 이전 1 다음