Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public void VisitLocationMarker(ILocationMarker location)
 {
     // Not required for this implementation.
 }
Exemplo n.º 3
0
 public void VisitLocationMarker(ILocationMarker location)
 {
 }
Exemplo n.º 4
0
 public void VisitLocationMarker(ILocationMarker location)
 {
     // not used in this implementation
 }
Exemplo n.º 5
0
 public void VisitLocationMarker(ILocationMarker location)
 {
     //not necessary
 }
Exemplo n.º 6
0
 public void VisitLocationMarker(ILocationMarker location)
 {
     // ignore; not used for this implementation
 }
Exemplo n.º 7
0
        public void VisitLocationMarker(ILocationMarker location)
        {

        }
 public void VisitLocationMarker(ILocationMarker location)
 {
     // Not required for this implementation.
 }
Exemplo n.º 9
0
 public void VisitLocationMarker(ILocationMarker location)
 {
     //not necessary
 }
 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());
 }
Exemplo n.º 13
0
 public void VisitLocationMarker(ILocationMarker location)
 {
     _currentContainer.Add((ILocationMarker)location.Clone());
 }
Exemplo n.º 14
0
 public void VisitLocationMarker(ILocationMarker location)
 {
     //Nothing to add
 }
Exemplo n.º 15
0
 public void VisitLocationMarker(ILocationMarker location)
 {
     // not needed
 }