Exemplo n.º 1
0
 /// <summary>
 /// 世界坐标(后面 左上角)
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static Vector3 WorldBackTopLeft(this BoxCollider self)
 {
     return(BoxColliderUtil.WorldBackTopLeft(self));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 世界坐标(后面 右下角)
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static Vector3 WorldBackBottomRight(this BoxCollider self)
 {
     return(BoxColliderUtil.WorldBackBottomRight(self));
 }
Exemplo n.º 3
0
 /// <summary>
 /// 世界坐标(前面  左下角)
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static Vector3 WorldFrontBottomLeft(this BoxCollider self)
 {
     return(BoxColliderUtil.WorldFrontBottomLeft(self));
 }
Exemplo n.º 4
0
 /// <summary>
 /// 世界坐标(前面  右上角)
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static Vector3 WorldFrontTopRight(this BoxCollider self)
 {
     return(BoxColliderUtil.WorldFrontTopRight(self));
 }
Exemplo n.º 5
0
 /// <summary>
 /// 世界坐标(中点)
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static Vector3 WorldCenter(this BoxCollider self)
 {
     return(BoxColliderUtil.WorldCenter(self));
 }
Exemplo n.º 6
0
 public static Vector3 WorldSize(this BoxCollider self)
 {
     return(BoxColliderUtil.WorldSize(self));
 }
Exemplo n.º 7
0
 /// <summary>
 /// 所有的世界坐标
 /// </summary>
 /// <param name="self"></param>
 /// <returns></returns>
 public static Vector3[] WorldPoints(this BoxCollider self)
 {
     return(BoxColliderUtil.WorldPoints(self));
 }