摘要: 切换关卡 基于 UGameplayStatics:: OpenLevel UGameplayStatics::OpenLevel(GetWorld(), TEXT("NewMap")); OpenLevelBySoftObjectPtr FSoftObjectPath NewMapPath(TEXT 阅读全文
posted @ 2021-05-07 23:27 砥才人 阅读(4833) 评论(2) 推荐(0) 编辑
摘要: 获取 Actor TActorIterator 遍历 可以用于遍历 Actor,也可以用于遍历 Component for (TActorIterator<AStaticMeshActor> ActorIter(GetWorld()); ActorIter; ++ActorIter) { UKism 阅读全文
posted @ 2021-05-07 22:51 砥才人 阅读(6860) 评论(0) 推荐(1) 编辑
摘要: World.h 库里的 Trace API Trace模式 TraceSingle 单个结果 TraceMulti 多个结果 Trace 的检测依据 ByChanne ByObjectType ByProfile LineTraceSingleByChannel 由于一般不使用 World 里的Tr 阅读全文
posted @ 2021-05-07 21:57 砥才人 阅读(7833) 评论(0) 推荐(0) 编辑