摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TransformHelper : MonoBehaviour { //在层级未知的时候查找子物体 // publi 阅读全文
摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; public class OpenDoor : MonoBehaviour { public string animName="Door"; 阅读全文
摘要:
找父物体: transform.parent.gameObject 距上次渲染帧的时间:Time.deltaTime; 受缩放影响的游戏运行时间:Time.time; 受缩放影响的游戏运行时间:Time.unscaledTime; 实际运行时间:Time.realtimeSinceStartup; 阅读全文