// Use this for initialization void Awake() { m_line = GetComponent <LineRenderer>(); m_gameController = FindObjectOfType <KingsTaxesController>(); }
// Use this for initialization void Awake() { // find gamecontroller in scene m_gameController = FindObjectOfType <KingsTaxesController>(); }