当前位置:网站首页>UE4 replacement system 3. Final results
UE4 replacement system 3. Final results
2022-07-24 06:12:00 【It's really all right, duck】
Create one in the blueprint GameInstance( Game examples ), Game instances will exist throughout the game , Name it MyGameInstance, Add a skeleton mesh volume variable and initialize , This is the face clothes we want to switch
In the map and mode of the project settings, modify the game instance at the bottom to create the game instance for us

Then we need to get the icon of this facial costume , We can use the screenshot tool and then go to ps Just change the size inside
We are creating a function to update the character's clothing when we go to the character blueprint , Create a function named Update Fashion, Add an input parameter , Here we only modify the character's facial clothing as an example

Let's go back to what we created UI_Start Add a button to the control , Change the style of the button , hold normal and hovered Just change the style of , Then adjust the position
The size of this button I set is 100*100, So the size of the icon should also be cut into 100*100 Of

Then select this button , There is a click event at the bottom , This click event is the operation after we click this button
We also need to get the reference of the character blueprint here to call the update clothing event in the character blueprint

Then we select the click event of that button , First get the game instance, and then put the Face Variables are passed to the character blueprint Update Fashion Events can update the character's facial costumes

Then we click Run , Before updating

After the update

The face clothing icon link above :https://pan.baidu.com/s/1IdCNOtmKNeGupXAVXojazA
Extraction code :cbjv
边栏推荐
- Solve modularnotfounderror: no module named "cv2.aruco“
- How to solve the problem of large distribution gap between training set and test set
- STM32 DSP library MDK vc5\vc6 compilation error: 256, (const float64_t *) twiddlecoeff64_ 256, armBitRevIndexTableF64_ 256,
- HoloLens 2 开发101:创建首个HoloLens 2应用程序
- ue4 物品随机生成
- 初识图形学
- Unity基础知识及一些基本API的使用
- Better CV link collection (dynamic update)
- [deep learning] handwritten neural network model preservation
- 碰壁记录(持续更新)
猜你喜欢

HoloLens 2 中文开发文档 MRTK v2

Positional argument after keyword argument

STM32 DSP library MDK vc5\vc6 compilation error: 256, (const float64_t *) twiddlecoeff64_ 256, armBitRevIndexTableF64_ 256,

Thymeleaf快速入门学习

AD1256

JUC并发编程基础(6)--Lock锁

The detailed process of connecting MySQL with QT and outputting data to QT window tablewidget.

UE4:浅谈什么是GamePlay框架

How to download videos on the web

Day-7 JVM end
随机推荐
The kernel apps to have died. it will restart automatically
STM32 DSP library MDK vc5\vc6 compilation error: 256, (const float64_t *) twiddlecoeff64_ 256, armBitRevIndexTableF64_ 256,
JDBC进阶—— 师承尚硅谷(DAO)
JSON. Dumps() function parsing
Detailed explanation of KMP code distribution
JDBC初级学习 ------(师承尚硅谷)
JUC并发编程基础(6)--Lock锁
Introduction to QT new project
Day2 websocket+ sort
Find the number with the most occurrences in the array
使用Keras实现 基于注意力机制(Attention)的 LSTM 时间序列预测
Signals and systems: Hilbert transform
Conversion of world coordinate system, camera coordinate system and image coordinate system
Qt 使用纯代码画图异常
餐饮数据统计分析---泰迪云课程大作业
Dameng database_ Various methods of connecting databases and executing SQL and scripts under disql
Native JS magnifying glass effect
Positional argument after keyword argument
Better CV link collection (dynamic update)
unity2D游戏之让人物动起来-下