using System.Collections; using System.Collections.Generic; using UnityEngine; public class Example : MonoBehaviour { public float moveSpeed = 5f; void Update() { float h = UltimateJoystick.GetHorizontalAxis("Movement"); float v = UltimateJoystick.GetVerticalAxis("Movement"); Vector3 moveDirection = new Vector3(h, 0, v); transform.Translate(moveDirection * moveSpeed * Time.deltaTime); } }