목록Animation (1)
브래의 슬기로운 코딩 생활
모바일 게임 실무 4주차 정리 (FPS)
cc = GetComponentInParent(); - 부모 객체의 Character Controller을 cc변수에 저장 vrCamera.eulerAngles.x // x축으로 기울어진 각도 vrCamera.TransformDirection //월드축 방향 cc.SimpleMove // 캐릭터의 스피드 값을 받아 그 만큼 이동시켜주는 함수 *Animator의 이름이 다른 이름이면 소스에도 그 이름을 사용 Animator anim; // 애니메이션 객체 anim선언 anim = GetComponent(); // anim에게 Animator 속성 부여 anim.Play("Base Layer.Idle"); // 괄호 안의 애니메이션 실행 OnPointerExit - 카메라가 객체를 바라보지 않으면 OnPoi..
2-2/모바일 게임 실무
2023. 9. 29. 21:26