목록2023/08/21 (1)
아카이브
8/20 주말과제 궁수 이동, 공격
1. 조이스틱으로 플레이어 캐릭터 이동시키기 using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { [SerializeField] private VariableJoystick joystick; [SerializeField] private float moveSpeed = 2f; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { //조이스틱으로 이동 float h = this.joy..
유니티 심화
2023. 8. 21. 02:22