//Initialize void Awake() { m_edge = GetComponent <LineRenderer>(); m_edge.material = m_roadMaterial; m_edge.startWidth = 0.25f; m_edge.endWidth = 0.25f; m_tourController = FindObjectOfType <TourController>(); }
void Awake() { //Find the game controller m_gameController = FindObjectOfType <TourController>(); }