- Unreal Engine 4 Scripting with C++ Cookbook
- William Sherif Stephen Whittle
- 144字
- 2021-07-08 10:50:50
Introduction
Memory management is always one of the most important things to get right in your computer program to ensure stability and good, bug-free operation of your code. A dangling pointer (pointer referring to something that has been removed from memory) is an example of a bug that is hard to track if it occurs.

In any computer program, memory management is extremely important. UE4's UObject
reference counting system is the default way that memory is managed for Actors and UObject
derivatives. This is the default way that your memory will be managed within your UE4 program.
If you write custom C++ classes of your own, which do not derive from UObject
, you may find the TSharedPtr
/ TWeakPtr
reference counted classes useful. These classes provide reference counting and automatic deletion for 0 reference objects.
This chapter provides recipes for memory management within UE4.
- C++面向對象程序設計(第三版)
- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- Java異步編程實戰
- Java虛擬機字節碼:從入門到實戰
- Python自然語言處理(微課版)
- ASP.NET Core 2 Fundamentals
- Android驅動開發權威指南
- Android傳感器開發與智能設備案例實戰
- Orchestrating Docker
- Python+Office:輕松實現Python辦公自動化
- 微前端設計與實現
- MongoDB Administrator’s Guide
- Less Web Development Cookbook
- Visual FoxPro程序設計習題及實驗指導
- HTML5/CSS3/JavaScript技術大全