분류 전체보기75 Built-in 에서 URP로 업그레이드 했을 때 메테리얼, 쉐이더 Upgrading your Shaders | Universal RP | 7.1.8 (unity3d.com) Upgrading your Shaders | Universal RP | 7.1.8Upgrading your Shaders If your Project uses shaders from the built-in render pipeline, and you want to switch your Project to use the Universal Render Pipeline instead, you must convert those Shaders to the URP Shaders. This is because built-in Lit shadersdocs.unity3d.comShader mappingsThe ta.. 2024. 9. 4. 절판된 책 깃헙 GitHub - Say-Y/D3d11BookExamForWin10: D3d11 Book Exam for win10 GitHub - Say-Y/D3d11BookExamForWin10: D3d11 Book Exam for win10D3d11 Book Exam for win10. Contribute to Say-Y/D3d11BookExamForWin10 development by creating an account on GitHub.github.com 2024. 8. 19. 3. 유니티 체력, 골드 (플레이어 스탯 생성), 적 체력 표시 이번 글은 해당 영상을 보고 참고하여 작성하였습니다.(2) [Unity 2D Game] Tower Defense #03 - 체력, 골드 시스템 - YouTube 적 체력 데이터 처리EnemyHP.cs더보기using System.Collections;using UnityEngine;using UnityEngine.UI;public class EnemyHP : MonoBehaviour{ [SerializeField] private float maxHP; // 최대 체력 private float currentHP; // 현재 체력 private bool isDie = false; // 적이 사망 상태이면 .. 2024. 8. 2. NullReferenceException: Object reference not set to an instance of an object 오류 보통은 GetComponent , inspector창에서 직접 연결하여 할당되지않아서 null 이 뜨는데 위의 경우에는 경로를 알 수가 없는 오류가 떴다 이럴땐 유니티를 껐다 켜보자 2024. 7. 31. 3. 타워 배치, 타워 공격 [Unity 2D Game] Tower Defense #02 - 타워 배치, 타워의 공격 (youtube.com) 유튜브를 참고하여 작성하였습니다. TileWall생성빈 오브젝트에 BoxCollider 컴포넌트와 Tile스크립트를 연결 후 프리팹으로 생성한다. Tag는 TileWall을 생성하고 연결하도록 한다. 이때 2D 가 아닌 3D BoxCollider 로 생성해야 충돌체에 반응 한다. TileMap Brush로 등록하여 타워 설치가 가능한 곳에 생성한다. 타워 프리팹 생성하기사용할 타워 이미지를 생성하고 프리팹으로 설정한다. Acher_Blue에는 아래와 같이 애니메이터를 생성하고파라미터는 Vertical, Horizontal, Attack 을 각각 float, float, trigger 타입으.. 2024. 7. 31. 2. 적 캐릭터 타일맵 이동, 애니메이션 [Unity 2D Game] Tower Defense #01 - 맵 배치, 적 생성 및 이동 (youtube.com) 고박사의 유니티 노트 영상을 참고하여 작성하였습니다. 스크립트EnemyCtrl.cs더보기using System.Collections;using System.Collections.Generic;using UnityEngine;public class EnemyCtrl : MonoBehaviour{ private int wayPointCount; // 이동 경로 개수 [SerializeField] private Transform[] wayPoints; // 이동 경로 정보 private int currentIndex =.. 2024. 7. 23. 이전 1 2 3 4 ··· 13 다음 반응형