杂项
杂项
学习笔记
siki学院:www.sikiedu.com
如何看Unity文档和API手册
Unity中的事件方法 MonoBehaviour
Time.deltaTime 当前帧运行占用的时间 realtimeSinceStartup 从游戏开始到现在的总时间 smoothDeltaTime fixedTime timeScale
GameObject游戏物体 activeSelf activeInHierarchy tag
构造方法 Instantiate CreatePrimitive
AddComponent 添加组件
Tranform
Object Destroy
GameObject和Component 相同点和区别
游戏物体查找 Game.Find FindObjectsOfType FindWithTag transform.Find
GetComponet(s)InChildren
Mathf Deg2Rad Infinity
Clamp ClosestPowerOfTwo Lerp LerpAngle MoveTowards PingPong Round SmoothDamp
Input GetKey.. GetAxis OnMouse
Vector2
Vector3
Random 随机整数 随机小数的生成 什么是随机种子
Quaternion 什么是四元数 Quaternion.LookRotation Euler Lerp Slerp
Rigibody mass velocity useGravity isKinematic
AddForque AddForce MovePosition
Camera mainCamera ScreenPointToRay ScreenToWorldPoint WorldToScreenPoint
Application.dataPath
streamingAssetsPath persistentDataPath temporaryCachePath
companyName idenifier installerName isEditor isFocused isMobilePlatform isPlaying is
场景加载 SceneManager LoadScene LoadSceneAsync GetActiveScene
CaptureScreenshot
siki学院:www.sikiedu.com