I have completed the course so I have all the scripts implemented that the course teaches. Im very new to coding, I understand what should be done but not how to get there with code.
Im wondering how I would code a new action for cycling through friendly units in the scene. I assume Id access UnitManager.Instance.GetFriendlyUnitList(). From there, Id just need to cycle through each unit in the list and set it with UnitActionSystem.Instance.SetSelectedUnit(unit).
What would the code to cycle through and select next unit in list look like?