コード例 #1
0
 protected void SetupDebug()
 {
     D_pivotPoint = new DebugPoint(0.15f, Color.green);
     D_pivotPoint.XForm.SetParent(levelingTransform);
     D_pivotPoint.XForm.localPosition = Vector3.zero;
     D_pivotPoint.XForm.localRotation = Quaternion.identity;
 }
コード例 #2
0
 public static Mesh[] DoSlice(Panel slice_panel, GameObject slice_go)
 {
     DebugPoint.Init(slice_go);
     panel    = slice_panel;
     mesh     = slice_go.GetComponent <MeshFilter>().mesh;
     sliceObj = slice_go;
     return(_slice());
 }