private void CreatePoints() { if (roadCreator.endIntersection == null) { roadCreator.CreatePoints(hitPosition); } }
private void CreatePoints() { roadCreator.CreatePoints(hitPosition); if (roadCreator.followObject != null) { roadCreator.followObject.GetComponent <PrefabLineCreator>().CreatePoints(hitPosition); } }