목록2023/08/04 (1)
아카이브
유니티짱 직선으로 움직이기
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class YukoController : MonoBehaviour { private float moveSpeed = 0.5f; private Animator anim; private bool isMove = false; // Start is called before the first frame update void Start() { this.anim = this.GetComponent(); } // Update is called once per frame void Update() { if (isMove) { if(..
유니티 기초
2023. 8. 4. 16:41