환의 게임 정보글

  • 홈
  • 태그
  • 방명록

picking #prefab #rotate #position #unity3d #vector3 1

코루틴 (Coroutine)을 통한 Picking

코루틴은 Unity에서 비동기적으로 실행할 수 있는 메서드로, 게임 로직에서 특정 동작을 순차적으로 실행하거나 시간 지연을 두고 실행할 때 사용됩니다. 예를 들어, 3, 2, 1, START! 같은 게임 시작 전 알림에 사용할 수 있습니다. 주요 특징을 알아보겠습니다.비동기 실행: 코루틴은 메인 게임 루프와 독립적 실행으로 특정 조건이 충족될 때까지 기다리거나 지연할 수 있습니다.IEnumerator 반환: 코루틴은 IEnumerator 타입을 반환하는 메서드로 정의됩니다. yield return문을 사용하여 실행을 일시 중지할 수 있습니다.시간 지연: yield return new WitForSeconds(seconds); 등을 통해 특정 시간 실행 지연 후 다음 코드를 진행할 수 있습니다.조건에 따른..

유니티(Unity) 프로그래밍 2024.10.03
이전
1
다음
더보기
프로필사진

환의 게임 정보글

김제환 개인용 게임 프로그래밍, 기획 정보 모음 블로그

  • 분류 전체보기 (56)
    • 게임 분석 (0)
    • 프로그래밍 C언어 (28)
    • 프로그래밍 C#언어 (11)
    • 프로그래밍의 이해 (0)
    • 유니티(Unity) 프로그래밍 (16)

Tag

절두체 #frustum #gta #카메라 #rendering #렌더링 #유니티 #unity, ui #canvas #unity, unity3d #rigidbody #collider #trigger #getkey #transform #position #프로그래밍, 클래스 #자식 #부모 #abstract #interface #override #overload #virtual #형변환 #c# #프로그래밍, coupling #상속 #소유 #?. #null #프로그래밍 #c#, datatype #signed #unsigned #c# #프로그래밍, generic #template #데이터 타입 #single #double #type #프로그래밍 #c#, delegate #대리자 #function pointer #함수 포인터 #중개업 #프로그래밍 #c, c# #객체 #인스턴스 #메서드 #객체 지향, 버블 정렬 #bubble sort #프로그래밍, 상속 #inheritance #부모 #자식 #class #프로그래밍, cast #trigger #collision #collider #picking #layer #unity3d, -= #time.deltatime #frame #random #프로그래밍 #유니티 #게임, 추격 #추적 #딸깍 #vector3 #벡터 #연산 #normalize #정규화 #time.deltatime #프로그래밍 #유니티, stack #queue #prefabs #unity, interface #destroy #instantiate #random #serializefield #프로그래밍 #c# #유니티 #unity3d, axis #translate #axis # horioztal #vertical #unity, c# #array #jagged array #배열 #다차원 배열 #프로그래밍, struct #구조체 #point #포인터 #method #메서드 #cs #c# #프로그래밍, picking #prefab #rotate #position #unity3d #vector3, animation #animator #prefabs #humanoid, 대리자 #delegate #boxing #unboxing #generic #제네릭 #컬렉션 #collection #익명 #무명 #메서드 #method #프로그래밍 #c#, 문자열 #string #garbage #+, insertion sort #삽입 정렬 #인덱스 #프로그래밍, inheritance #상속 #parent #부모 #child #자식 #class, quick sort #퀵 정렬 #pivot #피벗, 대리자 #delegate #스폰지밥, angle #second #minute #hour #mathf #cos #sin #degree #radian #unity #시계, button #image #ui #font #text #unity, animation #unity #animator #sprite,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바