星鸿阁

 找回密码
 立即注册
搜索
热搜: 活动 交友 动画
查看: 1466|回复: 1

How to generate blueprint class in content browser?

[复制链接]

2254

主题

2764

帖子

9644

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9644
发表于 2021-3-23 12:49:18 | 显示全部楼层 |阅读模式
[size=1.4em]How to generate blueprint class in content browser?
0


I want to use c + + to generate a blueprint assets

I just want to use c++ create asset in the editor, not in game

Does anyone know how to get started?


Product Version: UE 4.17

标签:c++editorc

更多 ▼

已提出 Jan 30 '18 在 8:36 PM

Juvarunst
95 ● 23 ● 25 ● 32



JuvarunstJan 30 '18 在 8:55 PM


Maybe I could use "FAssetRegistryModule :: AssetCreated"?








1 解答:sort 最早投票 ▼
0

Already solved, I use this code to create a blueprint

UBlueprint* Blueprint = FKismetEditorUtilities::CreateBlueprintFromClass(FText::FromString(TEXT("CreateNewBlueprint")), AGameModeBase::StaticClass(),TEXT("NewBP"));






回复

使用道具 举报

2254

主题

2764

帖子

9644

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9644
 楼主| 发表于 2021-3-23 12:49:55 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|starfluidga

GMT+8, 2025-3-9 21:05 , Processed in 0.016374 second(s), 20 queries .

Made by Liga 星鸿阁

Copyright © 2020-2048, LigaStudio.

快速回复 返回顶部 返回列表