public void GenerateLocationMarker(Transform platformTransform, MarkerType markerType) { UISettings settings = GameManager.Instance.uiSettings; GameObject generatedInstance = Instantiate(settings.markerPrefab, this.transform); ILocationMarker markerInterface = generatedInstance.GetComponent <ILocationMarker>(); markerInterface.InitialiseMarker(platformTransform, rectTransform); markerInterface.SetMarkerConstraints(this); markerInterface.SetMarkerIconType(markerType); List <ILocationMarker> tempArray = new List <ILocationMarker>(); CopyAllItemsFromArray(tempArray); tempArray.Add(markerInterface); UpdateArrayCollection(tempArray); }
public void VisitLocationMarker(ILocationMarker location) { // Not required for this implementation. }
public void VisitLocationMarker(ILocationMarker location) { }
public void VisitLocationMarker(ILocationMarker location) { // not used in this implementation }
public void VisitLocationMarker(ILocationMarker location) { //not necessary }
public void VisitLocationMarker(ILocationMarker location) { // ignore; not used for this implementation }
public void VisitLocationMarker(ILocationMarker location) { //Nothing to do }
public void VisitLocationMarker(ILocationMarker location) { // location markers have no charcter count }
public void VisitLocationMarker(ILocationMarker location) { _currentContainer.Add((ILocationMarker)location.Clone()); }
public void VisitLocationMarker(ILocationMarker location) { //Nothing to add }
public void VisitLocationMarker(ILocationMarker location) { // not needed }