왼손잡이개발자의 개발판

  • 홈
  • 태그
  • 방명록

unity destory vs destroyimmediate 1

[유니티] Destroy() vs. DestoryImmediate() 차이점은?

유니티 개발하면서 오브젝트를 제거할 때 보통 Destroy() 함수를 사용하는데요. 그런데 DestroyImmediate()라는 녀석도 있습니다. 영어 해석을 해보면 "지금 당장 삭제해!" 가 될텐데요. Destroy() 와 DestroyImmediate()의 차이점을 알고 계신가요? 구글링을 해보니 이렇게 나오네요 Destroy() will set the object to null at the end of the frame and whereas DestroyImmediate() function immediately set object reference to null (참고) Destroy() 는 프레임 제일 끝에서 null을 만들지만 DestroyImmedaite()는 바로 null을 만들어버린다. 보..

Unity & C# 2022.07.07
1
더보기
프로필사진

안녕하세요 왼손잡이 개발자입니다!

  • 전체 개발판 (48)
    • Unity & C# (30)
    • C++ (1)
    • REACT (5)
    • Blender (1)
    • LefthandDeveloper Project (2)
      • PaintMusic (2)
    • Playground (4)
    • Useful Info. (5)

Tag

C# Attribute, C# Event, VisualStudio, sourcetree, 유니티 Profiler, madewithunity, c#, reactjs, React, 유니티3D, CustomEditor, Git, 유니티, 리액트, paintmusic, Unity3D, unity, vr, unity profiler, 유니티c#,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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.

  • youtube channel

티스토리툴바