목록2023/09/15 (1)
아카이브
[개발일지] Undead Survivor 3일차
몬스터 만들기 Enemy.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy : MonoBehaviour { public float speed; public Rigidbody2D target; bool isLive = true; Rigidbody2D rigid; SpriteRenderer spriter; // Start is called before the first frame update void Awake() { rigid = GetComponent(); spriter = GetComponent(); } // Update is called once per frame void..
2D 콘텐츠 제작
2023. 9. 15. 18:21