Example #1
0
 // configure script refs
 void Start()
 {
     target_ret_scr   = target_ret.GetComponent <TargetReticule>();
     target_floor_scr = target_floor.GetComponent <TargetFloor>();
 }
Example #2
0
 public ILine CreateTargetReticule(GameObject targetObject, float radius, Color color, int width)
 {
     TargetReticule target = new TargetReticule(targetObject, radius, color, width);
     lines.Add(target);
     return target;
 }