void Start() { ag = GetComponent <AgendaComponent>(); agent = GetComponent <NavMeshAgent>(); TimeManager.instance.OnQuarterUpdate += CheckAgendaForDestination; }
/// <summary> /// Controller /// </summary> /// <param name="agendaComponent"></param> public AgendaController(AgendaComponent agendaComponent) { _agendaComponent = agendaComponent; }