当前位置:网站首页>UE4 更改组件变量 (以修改第一人称角色模板的最大行走速度和跳跃高度为例)
UE4 更改组件变量 (以修改第一人称角色模板的最大行走速度和跳跃高度为例)
2022-08-05 03:29:00 【Zhichao_97】
步骤:
1.打开FirstPersonCharacter蓝图
2.将其拖入事件图表中,从而产生引用,进而能够从组件中获取和设置变量
3.创建如下节点,包含最大行走速度和最大跳跃高度两个变量(变量类型为浮点型,默认值分别为500和300)
4.让事件一开始就执行
5.让变量变为公有,再点击编译
6.这样就可以修改这两个变量的值
7.在设置为想要的速度和高度的值后,如图我设置的为500、1000,点击编译蓝图-》
将实例更改应用到蓝图 ,从而来修改默认值
边栏推荐
- Ffmpeg - sources analysis
- 论治理与创新,2022 开放原子全球开源峰会 OpenAnolis 分论坛圆满落幕
- UE4 第一人称角色模板 添加蹲伏功能
- UE4 后期处理体积 (角色受到伤害场景颜色变淡案例)
- Slapped in the face: there are so many testers in a certain department of byte
- Use CH341A to program external Flash (W25Q16JV)
- 2022.8.4-----leetcode.1403
- [Software testing] unittest framework for automated testing
- Flink 1.15.1 Cluster Construction (StandaloneSession)
- 银行数据采集,数据补录与指标管理3大问题如何解决?
猜你喜欢
冒泡排序与快速排序
36-Jenkins-Job Migration
Defect detection (image processing part)
Android 面试题——如何徒手写一个非阻塞线程安全队列 ConcurrentLinkedQueue?
Spark基础【介绍、入门WordCount案例】
Web3.0 Dapps——通往未来金融世界的道路
UE4 opens doors with overlapping events
Ice Scorpion V4.0 attack, security dog products can be fully detected
token、jwt、oauth2、session解析
The second council meeting of the Dragon Lizard Community was successfully held!Director general election, 4 special consultants joined
随机推荐
Android Practical Development - Kotlin Tutorial (Introduction - Login Function Implementation 3.3)
How to Add Category-Specific Widgets in WordPress
ffmpeg enumeration decoders, encoders analysis
高项 02 信息系统项目管理基础
AI + Small Nucleic Acid Drugs | Eleven Completes $22 Million Seed Round Financing
This year's Qixi Festival, "love vegetables" are more loving than gifts
【七夕节】浪漫七夕,代码传情。将爱意变成绚烂的立体场景,给她(他)一个惊喜!(送代码)
Why did they choose to fall in love with AI?
基于生长的棋盘格角点检测方法
2022.8.4-----leetcode.1403
Swing有几种常用的事件处理方式?如何监听事件?
IJCAI2022 | DictBert: Pre-trained Language Models with Contrastive Learning for Dictionary Description Knowledge Augmentation
After the large pixel panorama is completed, what are the promotion methods?
[Paper Notes] MapReduce: Simplified Data Processing on Large Clusters
Dameng 8 database export and import
Static method to get configuration file data
On governance and innovation, the 2022 OpenAtom Global Open Source Summit OpenAnolis sub-forum came to a successful conclusion
905. Interval selection
UE4 为子弹蓝图添加声音和粒子效果
Industry Status?Why do Internet companies prefer to spend 20k to recruit people rather than raise their salary to retain old employees~