Procházet zdrojové kódy

查找和结构体

usuiforhe před 4 roky
rodič
revize
64bb23cf6a
6 změnil soubory, kde provedl 37 přidání a 1 odebrání
  1. binární
      img/UE_Asset2.gif
  2. binární
      img/UE_Asset50.png
  3. binární
      img/UE_Asset51.png
  4. binární
      img/UE_Asset52.png
  5. binární
      img/UE_Asset53.png
  6. 37 1
      虚幻.md

binární
img/UE_Asset2.gif


binární
img/UE_Asset50.png


binární
img/UE_Asset51.png


binární
img/UE_Asset52.png


binární
img/UE_Asset53.png


+ 37 - 1
虚幻.md

@@ -1,7 +1,7 @@
 <!--
  * @Author: lc
  * @Date: 2021-09-03 21:41:18
- * @LastEditTime: 2021-09-12 17:43:10
+ * @LastEditTime: 2021-09-13 13:26:20
  * @LastEditors: Please set LastEditors
  * @Description: 虚幻学习
  * @FilePath: D:\Projects\markdown\虚幻.md
@@ -604,4 +604,40 @@ A --> E(订阅者D)
 
 ## 查找Actor
 
+![查找方法](img/UE_Asset50.png)
+
+1. 类的方式查找
+
+Of Class通过给定的ui想模板将场景中与之匹配的对象进行查找,并返回查找到的所有对象
+
+2. 给定的接口式查找
+
+With Interface 通过给给定的接口将场景中与之匹配的对象进行查找,并返回查找的所有对象
+
+3. 标签查找
+
+With Tag 通过给定的标签将场景中与之匹配的对象进行查找,并返回查找到的所有对象
+
+![通过标签查找](img/UE_Asset51.png)
+
 ## 复杂数据类型
+
+### 结构体
+
+蓝图中的结构体只有属性,没有函数
+
+![创建结构体](img/UE_Asset52.png)
+
+> 创建结构体
+ 
+![设置结构体参数](img/UE_Asset53.png)
+
+> 设置结构体参数
+
+![使用数据结构](img/UE_Asset2.gif)
+
+> 使用数据结构  
+> 使用 `make 结构体名称`可创建结构体对象   
+
+### 枚举
+