遍历枚举
摘要:.h: UENUM(BlueprintType) enum class ESequenceItem : uint8 { Invalid = 0, WaitingSubway UMETA(DisplayName = "体验者等待地铁"), FindPeople UMETA(DisplayName =
阅读全文
新增了某个模组后VS编译不过,报错说找不到头文件
摘要:在Build.cs添加对应模组。 如加UCableComponent时: .Build.cs ... PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "
阅读全文
重写Overlap事件
摘要:.h: UFUNCTION() virtual void StartTouchEvent(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 Other
阅读全文