목록2023/09/14 (1)
아카이브
[개발일지] Undead Survivor 2일차
맵 구현 룰타일 생성 타일 적용 하이어라키에서 타일 맵을 만들어 줌 팔레트를 통해 맵타일을 적용해준다 재배치 이벤트 타일맵에 콜라이더 부착 Player에 자식 오브젝트 Area 추가 게임매니저 오브젝트를 만들고 스크립트 부착 GameManager.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public static GameManager instance; //static: 정적으로 사용하겠다는 키워드. 바로 메모리에 얹어버림 public Player player; void Awake() { //Awake 생명주기에서 인스턴스 변수..
2D 콘텐츠 제작
2023. 9. 14. 18:21