돌고래 홈페이지
ID:
PW:


  운영자(2021-08-05 06:03:18, Hit : 1264, Vote : 726
 UObject 제거, 삭제 destory

UObject 해제는 UObject::MarkPendingKill
UObject에 대한 포인터에는 UPROPERTY를 붙인다
UObject의 유효성 검사는 nullptr과의 비교가 아니라 IsValid
https://hexadrive.jp/hexablog/program/43052/

UObject Manager

https://gist.github.com/muit/48590ce6a1bf6e6c32c382436416e55e

Unreal용 오브젝트 풀
https://sunghwanpark.github.io/unreal/33/

Destroying UObject-derived classes
https://www.oreilly.com/library/view/unreal-engine-4/9781785885549/ch02s08.html

UObject를 즉시 안전하게 삭제하는 방법
NewObject<MyManager>(this);   --> this로 outer를 지정해준다.
UWorld* World = GetOuter()->GetWorld()

https://m.blog.naver.com/ddc01137/221721281592
https://blog.csdn.net/weixin_43844254/article/details/109519527
https://forums.unrealengine.com/t/uobject-self-destruct/79147/6
***   http://m.bubuko.com/infodetail-3760126.html
***   https://zhuanlan.zhihu.com/p/49046671
***   https://usagi.hatenablog.jp/entry/2018/11/30/185855
***    https://blog.csdn.net/qq_29523119/article/details/84981218
***   https://www.codeleading.com/article/13544978310/
***   https://www.twblogs.net/a/5c3a0a3cbd9eee35b3a5f187
https://forums.unrealengine.com/t/destroy-uobject/236945

ConditionalBeginDestroy , NULL
https://answers.unrealengine.com/questions/3899/how-to-safely-delete-uobject-instantly.html?sort=oldest
https://answers.unrealengine.com/questions/219430/explicitely-delete-a-uobject.html

TArray Memleak 문제  --> MarkPendingKill 사용할것
https://forums.unrealengine.com/t/tarray-memleak-problem/31115/2

Instantiating destroying objects
https://ikrima.dev/ue4guide/gameplay-programming/instantiating-destroying-objects/

What is the correct way to cleanup UMyObject* in TArray?
https://answers.unrealengine.com/questions/37222/view.html




언리얼 커스텀 에디터
unreal.js

Copyright 1999-2022 Zeroboard / skin by zero