摘要:
# 第1种写法: Vector3.Slerp(v1, v2, percent) using UnityEngine; public class SmoothSetDirection : MonoBehaviour { public Transform tf1; public Transform tf 阅读全文
摘要:
# #if UNITY_EDITOR using UnityEditor; using UnityEngine; public class GizmosDrawAxis : MonoBehaviour { public Color color = Color.yellow; public bool 阅读全文
摘要:
和SphereBoundsHandle的主要区别是这边有radius, height, heightAxis三个参数,没有size参数,其他基本一致 using UnityEditor; using UnityEditor.IMGUI.Controls; using UnityEngine; pub 阅读全文