조이스틱 (1) 썸네일형 리스트형 유니티 가상 조이스틱(브롤 스타즈 방식) using System.Collections; using System.Collections.Generic; using UnityEngine; public class VirtualJoystick : MonoBehaviour { public GameObject virtualJoystickBG; public GameObject virtualJoystick; public float maxMagnitude; public static Vector3 input { get; set; } private Vector3 downPos; private Vector3 dragPos; private Vector3 dir; private float magnitude; // Start is called before the first.. 이전 1 다음