- 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.
- JavaScript從入門到精通(微視頻精編版)
- ClickHouse性能之巔:從架構設計解讀性能之謎
- Python科學計算(第2版)
- Power Up Your PowToon Studio Project
- Vue.js 3.x從入門到精通(視頻教學版)
- 實用防銹油配方與制備200例
- Internet of Things with the Arduino Yún
- Python程序設計案例教程
- Rust Essentials(Second Edition)
- 深入理解C指針
- Python Data Science Cookbook
- 硬件產品設計與開發:從原型到交付
- IPython Interactive Computing and Visualization Cookbook
- Continuous Delivery and DevOps:A Quickstart Guide Second Edition
- 和孩子一起學編程:用Scratch玩Minecraft我的世界