摘要:
Iteration There are several ways to iterate over the elements of your array, but the recommended way is to use C++'s ranged-for feature: Regular index 阅读全文
摘要:
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("This is an on screen message!")); UE_LOG(LogTemp, Log, TEXT("Log text %f"), 0.1f); UE_LOG(LogTemp, Warning, TEXT("Log warning")); UE_LOG(L... 阅读全文
摘要:
Since different platforms have different sizes for basic types such as short, int, and long, UE4 provides the following types which you should use as 阅读全文
摘要:
Unreal Engine provides tools that generate code for you during the build process. These tools have some class naming expectations and will trigger war 阅读全文
摘要:
转自:https://docs.unrealengine.com/latest/CHN/Programming/Introduction/index.html 继承自UObject的类 系统会进行垃圾回收 Any UObject pointer stored in a UPROPERTY will 阅读全文
摘要:
参见 https://www.unrealengine.com/blog/unreal-property-system-reflection USING REFLECTION DATA To iterate over all members of a UStruct, use a TFieldIte 阅读全文
摘要:
#if CPP / #endif #if WITH_EDITOR 、 WITH_EDITORONLY_DATA / #endif (UHT模式) 阅读全文
摘要:
参见:https://docs.unrealengine.com/latest/CHN/Programming/UnrealArchitecture/Reference/Classes/index.html The most basic form of a UObject constructor i 阅读全文
摘要:
1 在头文件声明变量 UPROPERTY() 宏命令 定义变量的属性 EditAnywhere 在UI编辑器中可编辑 BlueprintReadWrite 在蓝图中可读写 Category = "Damage" 在编辑器中以组“Damage”显示 2 变量初始化两种方式 3 此时如果在编辑器中修改变 阅读全文
摘要:
链接:https://answers.unrealengine.com/questions/343297/xcode-clean-project-causes-shared-ue4editorapp-bin.html If you check the file system, you can fin 阅读全文