Unity3D数字孪生学习笔记之 Unity常用API解析
发布时间
阅读量:
阅读量
Unity3D数字孪生笔记(二)——Unity篇
- 一、常见API接口
-
- 1、组件
- 2、变换
- 3、游戏对象
- 4、对象
- 5、时间
-
二、预制资源(Prefab)
-
三、动画(Animation)
-
- 1.动画视图
- 2.生成动画片段
- 3.记录动画片段
- 4.时间轴
- 5.Animation组件参数
- 6.常用API函数
-
一、常用API

1、Component
Component类具备在当前对象及其子对象与父对象中检索组件的能力。
-
常见属性
gameObject、transform、collider、renderer… -
常见方法
-
GetComponent、GetComponentInChild、GetComponentInParent…
using System.Collections;
using System.Collections.Generic;
全部评论 (0)
还没有任何评论哟~
