예제 #1
0
    public void Pick(int code)
    {
        if (code == -1)
        {
            return;
        }
        if (select != frames[code])
        {
            ReleasePick();
        }

        Test.instance.currFrame = code;
        select = frames[code];
        select.Pick();
        EventListUpdate();
    }
예제 #2
0
 public int Pick(FrameScript frame)
 {
     if (select != frame)
     {
         ReleasePick();
         select = frame;
         select.Pick();
         EventListUpdate();
         return(int.Parse(select.name));
     }
     else
     {
         DisableEventList();
         ReleasePick();
     }
     return(-1);
 }