示例#1
0
 public void setCount(int count)
 {
     MUtil.madeCount(values, count, 0);
     nextIndex    = 0;
     values[0]    = 0;
     sum          = 0;
     currentCount = 0;
 }
示例#2
0
 public static void cylinder(Vector3 pos, Vector3 X, Vector3 Y, float size, int count, float x1, float x2, float r1, float r2)
 {
     Gizmos.matrix = Matrix4x4.TRS(pos, MUtil.qToAxes(X, Y), new Vector3(size, size, size));
     cylinder(count, x1, x2, r1, r2);
     Gizmos.matrix = Matrix4x4.identity;
 }
 public CounterStacksCollection(int count)
 {
     MUtil.madeCount(stacks, count);
 }