posted @ 2021-01-21 19:42 Max404 阅读(339) 评论(0) 推荐(0) 编辑
摘要:
C++ 生成Actor AInventory* ABackPackCPPCharacter::GetInventory() { if (!Inventory) { FActorSpawnParameters Params; Params.SpawnCollisionHandlingOverride 阅读全文
摘要:
头文件 #include "Engine/DataTable.h" //按钮UI表格 USTRUCT(BlueprintType,Blueprintable) struct FButtonWidgetAttr:public FTableRowBase{ GENERATED_BODY() public 阅读全文
posted @ 2021-01-17 16:00 Max404 阅读(221) 评论(0) 推荐(0) 编辑
摘要:
//反射UI UPROPERTY(meta = (BindWidget)) class UNamedSlot* InventoryWidgetSlot; //反射UI UPROPERTY(meta = (BindWidget)) class UHorizontalBox* GameButtonSlo 阅读全文
posted @ 2021-01-17 12:00 Max404 阅读(91) 评论(0) 推荐(0) 编辑
摘要:
头文件.h #include "Kismet/GameplayStatics.h" 源文件.cpp UInventorySaveGame* UInventorySaveGameToolLibrary::LoadSaveGame(FString SaveGameName) { UInventorySa 阅读全文
posted @ 2021-01-14 18:30 Max404 阅读(325) 评论(0) 推荐(0) 编辑
摘要:
//指针对象赋值IInteractionInterface* Temp_CurrentInterface = NULL; C4458 重命名 阅读全文
posted @ 2021-01-13 16:19 Max404 阅读(200) 评论(0) 推荐(0) 编辑
摘要:
创建组件 public:InteractiveComponent = CreateDefaultSubobject<UInteractiveComponent>(FName("InteractiveComponent")); InteractiveComponent->InteractiveRadi 阅读全文
posted @ 2021-01-11 19:06 Max404 阅读(407) 评论(0) 推荐(0) 编辑
摘要:
1、原文件备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2、编辑源列表文件 sudo vim /etc/apt/sources.list 3、将原来的列表删除,添加如下内容(中科大镜像源) :%d 清空原来 deb http:/ 阅读全文
posted @ 2020-04-08 00:18 Max404 阅读(877) 评论(0) 推荐(0) 编辑
摘要:
关于django安装xadmin出现的问题和解决方案 通过终端执行命令 清华镜像: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xadmin 国外源: pip install https://codeload.github.com/ 阅读全文
posted @ 2020-03-03 09:22 Max404 阅读(343) 评论(0) 推荐(0) 编辑