private void MovePoints(RaycastHit raycastHit) { roadCreator.MovePoints(hitPosition, guiEvent, raycastHit); if (roadCreator.followObject != null) { roadCreator.followObject.GetComponent <PrefabLineCreator>().MovePoints(hitPosition, guiEvent, raycastHit); } }
private void MovePoints(RaycastHit raycastHit) { roadCreator.MovePoints(hitPosition, guiEvent, raycastHit); }