Beispiel #1
0
        private void BookScrollViewCenter(IEvent ievent)
        {
            var e = ievent as Event_ElfSkillBookLookIndex;

            if (e.Index == -1)
            {
                SkillBookScrollView.MoveToOffset2(lastBookScrollViewPos, lastBookScrollViewOffset);
            }
            else
            {
                SkillBookScrollView.SetLookIndex(e.Index, false);
            }
        }
Beispiel #2
0
 public void MoveToOffset(IEvent e)
 {
     ScrollView.MoveToOffset2(lastPos, offset);
 }