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

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