Ai Face Swap remaker
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterController : MonoBehaviour { public float speed = 5.0f; void Update() { float moveHorizontal = Input.GetAxis("Horizontal"); float moveVertical = Input.GetAxis("Vertical"); Vector2 movement = new Vector2(moveHorizontal, moveVertical); transform.position = transform.position + movement * speed * Time.deltaTime; } }
Posting Komentar
Komentar Anda tidak merubah apapun...!