유니티77 [유니티] 시네머신 컷씬 : 전체적인 분위기를 보면서 분위기를 북돋아주는 기능 시네머신과 컷씬 시네머신 : 카메라의 기능 - > 아티스트의 영역 연출적인 부분 하지만 우리는 코드로 만드는 능력을 키워야 한다! [셋팅] 1. 에셋 다운 https://assetstore.unity.com/packages/3d/environments/fantasy-landscape-103573 2. Fog 끄기 (안개 없이 가고 싶어서) 3. Cinematic Studio 설치 & 다운 1인칭 3인칭에 따라서 다르게 사용 가능 예시) [제작] 1. 빈게임오브젝트 (PD) 2. 타임라인 생성 PD가 들고있는 콘티 - 반드시 Hierarchy에 있는 PD를 선택해야함 3. Cinemachine Track 생성 4. Add Cinemachine Sh.. 2023. 8. 16. [유니티] 타겟 https://a-game-developer0724.tistory.com/54 [Unity 3D] Physics.OverlapSphere (주변 콜라이더 추출하기) Physics.OverlapSphere - 중점과 반지름으로 가상의 원을 만들어 추출하려는 반경 이내에 들어와 있는 콜라이더들을 반환하는 함수 함수의 반환 값은 Collider 컴포넌트의 배열로 넘어옵니다. 또한 Overlap a-game-developer0724.tistory.com https://drive.google.com/drive/folders/1LgpXWqW4Oh6Ly-OUX_LFFAyI_LiiwnIA Targeting - Google Drive 이 폴더에 파일이 없습니다.이 폴더에 파일을 추가하려면 로그인하세요. drive.goo.. 2023. 8. 8. [유니티] 2D 플레이어 애니메이션 using Unity.VisualScripting; using UnityEngine; using UnityEngine.Windows.Speech; public class Player : MonoBehaviour { [Header("Player Info")] [SerializeField] private float moveSpeed; [SerializeField] private float jumpForce; [Header("Dash Info")] //시간동안 스피드가 빨라진다. [SerializeField] private float dashSpeed; [SerializeField] private float dashDuration; private float dashTime; [SerializeField] pr.. 2023. 8. 8. [유니티] 디버깅 방법 1. Debug.Log() 2. 중단점 찍기 3. Inspector 창 4. 기즈모 그리기 (시각적 디버깅) - 방법 1 실행하지 않아도 그릴 수 있음 (함수를 통해) private void OnDrawGizmos() { Gizmos.DrawLine(transform.position, new Vector3(transform.position.x, transform.position.y - groundCheckDistance)); } https://backback.tistory.com/436 Unity - OnDrawGizmos 기즈모 그리기 기즈모(Gizmo) 기즈모는 Scene에서 게임 오브젝트와 관련된 그래픽인데 시각적 디버깅을 위해서 사용되고, 설정된 기즈모는 뷰에 보이게 된다. [ Gizmo 함수 ].. 2023. 8. 8. [유니티] Resources.Load public class GameManager : MonoBehaviour { [SerializeField] Transform pos; void Start() { //[플레이어 생성] //Resourecs 폴더에서 직접 가지고 오기 GameObject player = Resources.Load("Player"); //프리팹으로 객체 생성 GameObject go = Instantiate(player, pos.position, Quaternion.identity); //[카메라] //시네머신 카메라 플레이어 따라가기 GameObject.Find("CM").GetComponent().Follow = go.transform; } https://learnandcreate.tistory.com/753 유니티에서 R.. 2023. 8. 7. [유니티] 페이드 인 아웃 public class FadeInOut : MonoBehaviour { public float fadeSpeed = 1.5f; public bool fadeInOnStart = true; public bool fadeOutOnExit = true; public Image panel; private void Awake() { //처음시작 방법1 panel.gameObject.SetActive(true); } void Start() { //StartCoroutine(FadeOut()); StartCoroutine(FadeIn()); } IEnumerator FadeIn() { //처음시작 방법2 if (panel.color.a > 0) { panel.color = new Color(0, 0, 0, 0); .. 2023. 7. 31. 이전 1 ··· 3 4 5 6 7 8 9 ··· 13 다음 728x90