当前位置:网站首页>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 (<边栏推荐
- 新手记录:机械键盘的一些小知识
- Examples of AC simulation and S-parameter simulation of ADS simulation
- Trial record of ModelBox end cloud collaborative AI development kit (rk3568) (III)
- 七个步骤,深入解读数据含义
- Implementation of solid transfer function (based on transfer)
- Mongodb initialization operation
- Experimental building - PHP Dafa
- 多线程与高并发—— 源码解析 AQS 原理
- Experience 5 minutes to develop wechat apps
- cout.write的学习
猜你喜欢

七个步骤,深入解读数据含义

示波器简介

微信公众号授权登录后报redirect_uri参数错误的问题

Brief introduction: basic principle of srv6

GIS数据漫谈(六)— 投影坐标系统
![Summer Challenge [FFH] JS custom component: DIY a keyboard that can be used at any time! (I)](/img/92/abc5c4e7aee3c65aa0f62fc699b4df.jpg)
Summer Challenge [FFH] JS custom component: DIY a keyboard that can be used at any time! (I)

深圳线下报名|StarRocks on AWS:如何对实时数仓进行极速统一分析

npm 无法将“npm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。

天线的主要参数介绍

Tencent Tang Daosheng: open source is a new mode of production and collaboration in the era of industrial Internet
随机推荐
Golang 并发之锁
Brief introduction to the principle of spectrometer II
Mongodb create index
数字化洪流 :企业转型中的资源重组与战略冲突
Detailed explanation of oscilloscope probe
Cout.write learning
Centos8 creates wordpress+mysql error reports according to the official website of docker
Introduction to the principle of signal source
haproxy实现灰度发布
Syntax error: non declaration statement outside function bodygo and syntax error: unexpected {, expect
Advanced Design System(ADS)2009 射频仿真入门
.net WCF WF4.5 状态机、书签与持久化
Go的walk库报错
ModelBox端云协同AI开发套件(RK3568)试用记录(三)
USB Type-C 之CC线简介
USB type-C details
Internet intelligence, how to define the next generation network transformation
USB Type-C 详解
MySQL advanced mvcc (ultra detailed collation)
npm 无法将“npm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。