当前位置:网站首页>UE5 GAS 学习笔记 1.2游戏标签
UE5 GAS 学习笔记 1.2游戏标签
2022-07-28 17:04:00 【CloudHu1989】
前言
这一节对GameplayTag游戏标签进行详细的讲解。
一、概念介绍
FGameplayTag是由GameplayTagManager注册的形似Parent.Child.Grandchild...的层级Name, 这些标签对于分类和描述对象的状态非常有用, 例如, 如果某个Character处于眩晕状态, 我们可以给一个State.Debuff.Stun的GameplayTag.
你会发现自己使用GameplayTag替换了过去使用的布尔值或枚举值来编程, 并且需要对对象有无特定的GameplayTag做布尔逻辑判断.
代码如下(对是否拥有某个GameplayTag标签进行判断的示例):
//通过HasMatchingGameplayTag接口来对标签进行匹配判断,如果匹配成功返回true
if (<边栏推荐
- solidity的msg.value
- syntax error: non-declaration statement outside function bodygo 和 syntax error: unexpected {, expect
- Mqtt over quic: the next generation Internet of things standard protocol injects new impetus into the message transmission scenario
- SQL Server stuff and for XML path
- 示波器探头详解
- Iptables防火墙详细介绍
- Go并发详解之一
- Summer Challenge [FFH] JS custom component: DIY a keyboard that can be used at any time! (I)
- Food safety | will the salt content of bread exceed the standard? A few tips to teach you to eat bread correctly!
- USB Type-C PD快充简介
猜你喜欢

Brief introduction to the principle of spectrometer II

Random talk on GIS data (VI) - projection coordinate system

Detailed explanation of network RJ45 interface

Tcp/ip detailed diagram

Five key considerations for network security budget planning in 2023

【译】创意编码之噪音

天线的原理、分类及要求

Introduction to oscilloscope

Power adapter global definition

insight! Baidu pushed redis ceiling notes, which was originally understood by the database
随机推荐
insight! Baidu pushed redis ceiling notes, which was originally understood by the database
LVS手册
欧美六国最快5日达 菜鸟推出快线产品 优化“端到端”履约服务
物联网在智慧城市的应用
iptables防火墙端口规则配置
Detailed explanation of oscilloscope probe
VSC writes go, expected 'package' appears, found 'EOF‘
Delete the last page of word document
高德地图实现自定义小蓝点 自定义点标记 绘制多边形/圆形区域 根据地图的移动显示或者隐藏自定义点标记的相关实现
直播|StarRocks 技术内幕 :低基数全局字典优化
体验5分钟开发微信小程序
Centos8 creates wordpress+mysql error reports according to the official website of docker
Seven steps, in-depth interpretation of data meaning
SQL Server stuff and for XML path
示波器探头详解
Cout.write learning
Import the database backup of MySQL 8 into MySQL 5
Implementation of solid transfer function (based on transfer)
iptables 配置
Devops in digital transformation -- flexible cooperation