Game Dev Study Log

by ricale

취미로 하는 게임 개발 공부

강의 64강 수강

강의 수강: Unity Turn-Based Strategy Game: Intermediate C# Coding

64. Pathfinding Script (12:17)

Pathfinding 을 본격적으로 구현하기에 앞서 해당 구현을 가시적으로 볼 수 있는 디버그용 객체를 생성.

  • Pathfinding 클래스 및 개임객체 추가
  • Pathfinding 에서 사용할 그리드 객체인 PathNode 추가
  • 기존에 있던 GridDebugObject 를 활용해 PathfindingGridDebugObject 를 추가
  • LevelGrid 에서 기존에 그리던 GridDebugObject 를 그리지 않도록 임시 처리하고
  • Pathfinding 에서 PathfindingGridDebugObject 를 그리게 함

본격적인 Pathfinding 구현은 다음 강의부터 할듯.