示例#1
0
 public static void DrawWireCylinderX(Vector3 pos, float radius, float height)
 {
     GizmosUtil.DrawWireCircleX(Vector3.op_Subtraction(pos, new Vector3(0.5f * height, 0.0f, 0.0f)), radius);
     GizmosUtil.DrawWireCircleX(Vector3.op_Addition(pos, new Vector3(0.5f * height, 0.0f, 0.0f)), radius);
 }
示例#2
0
 public static void DrawWireCylinderX(Vector3 pos, float radius, float height)
 {
     GizmosUtil.DrawWireCircleX(pos - new Vector3(0.5f * height, 0f, 0f), radius);
     GizmosUtil.DrawWireCircleX(pos + new Vector3(0.5f * height, 0f, 0f), radius);
 }