using UnityEngine; using System.Collections; public class PoliceLine : BaseClass { public static int lineIndex = 0; public PoliceLine(GameObject obj, GameObject parentObj, GameObject TheUI, int id, RaycastHit hit_, Vector3 pos1_, Vector3 pos2_) : base(obj, parentObj, TheUI, id, hit_, pos1_, pos2_) { } public override void InstatiateItem(string objTypeName, bool flag) { base.InstatiateItem(objTypeName, flag); lineIndex++; } }