- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 UE4 蓝图里添加Cpp文件,不在VS解决方案里显示的问题
1.可能是VAX的问题考虑选项页选中新添加的.h .cpp文件选中 menu中 File下拉菜单中将....h,......cpp移入解决方案选择解决方案移入拖到合适位置参考:https://answers.unrealengine.com/questions/178848/47-added-classes-not-showing-in-solution-explorer.html
2016-05-31 15:47:53 957
原创 UE4 Inappropriate '*' on variable of type 'F..truct', cannot have an exposed pointer to this type'问题
Struct只能传引用,不能传指针'Pointers to classes work, pointers to structs won't.一般要将 UFUNCTION() void ServerUpdatePotential(FYagPotentialStruct* InStruct);改为 UFUNCTION() void ServerUp
2016-05-20 17:51:32 8240 1
原创 UE4 ‘Unrecognized type 'TMap'’问题
问题可能在于,你在代码里面这么写,UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gun") TMap<EWeaponType::Type, FWeapon> Weapons;这是因为TMap不支持UPROPERTY的反射,因此要去掉UPROPERTY,或者改用TARRAY,它是支持UPROPERTY的。...
2016-05-20 16:28:36 1806
原创 UE4中FName,Fstring,FText使用规则及相互转换
参考:1.使用规则及相互转换https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/StringHandling/index.html2.总结https://answers.unrealengine.com/questions/90638/text-string-or-name.html
2016-05-20 13:26:35 11767
原创 UE4中GameInstance和GameState区别
转载自论坛1.GameState is replicated extension of GameMode, since GameMode it self is not replicated and exists only on servers memory for security reasons. So GameState let clients access some game data wh
2016-05-11 16:50:10 4799 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人