Пример #1
0
        public WispBlockerOverride GetSlider(int index)
        {
            WispBlockerOverride slider = components[0];

            foreach (var item in components)
            {
                if (item.data.index == index)
                {
                    slider = item;
                }
            }

            return(slider);
        }
Пример #2
0
 public void BeginSlide(WispBlockerOverride destination, float slideTime)
 {
     toPoint = destination.data.restPosition;
     toIndex = destination.data.index;
     moveController.BeginMove(transform, toPoint, slideTime, endMethod);
 }