Example #1
0
 public static void VisibilityStaticSetup(VectorLine line, out RefInt objectNum)
 {
     if (vectorLines == null)
     {
         vectorLines   = new List <VectorLine>();
         objectNumbers = new List <RefInt>();
     }
     vectorLines.Add(line);
     objectNum = new RefInt(_arrayCount++);
     objectNumbers.Add(objectNum);
     VectorLine.LineManagerEnable();
 }
Example #2
0
 public static void VisibilitySetup(Transform thisTransform, VectorLine line, out RefInt objectNum)
 {
     if (vectorLines2 == null)
     {
         vectorLines2   = new List <VectorLine>();
         objectNumbers2 = new List <RefInt>();
     }
     line.drawTransform = thisTransform;
     vectorLines2.Add(line);
     objectNum = new RefInt(_arrayCount2++);
     objectNumbers2.Add(objectNum);
     VectorLine.LineManagerEnable();
 }
Example #3
0
 public static void CheckDistanceSetup(Transform thisTransform, VectorLine line, Color color, RefInt objectNum)
 {
     VectorLine.LineManagerEnable();
     if (vectorLines3 == null)
     {
         vectorLines3   = new List <VectorLine>();
         transforms3    = new List <Transform>();
         oldDistances   = new List <int>();
         colors         = new List <Color>();
         objectNumbers3 = new List <RefInt>();
         VectorLine.LineManagerCheckDistance();
     }
     transforms3.Add(thisTransform);
     vectorLines3.Add(line);
     oldDistances.Add(-1);
     colors.Add(color);
     objectNum.i = _arrayCount3++;
     objectNumbers3.Add(objectNum);
 }