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

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