コード例 #1
0
ファイル: TitleMenuGroup.cs プロジェクト: buzzler/JellyCraft
 public void UnblockButtons(TitleMenuButton except)
 {
     clicked = Array.IndexOf(buttons, except);
     offset  = 0;
     block   = false;
     InvokeRepeating("InvokeBlock", 0.05f, 0.05f);
     if (parentButton != null)
     {
         parentButton.block = false;
     }
 }
コード例 #2
0
ファイル: TitleMenuGroup.cs プロジェクト: buzzler/JellyCraft
 public void BlockButtons(TitleMenuButton except)
 {
     clicked = Array.IndexOf(buttons, except);
     offset  = 0;
     block   = true;
     InvokeRepeating("InvokeBlock", 0.1f, 0.1f);
     if ((parentButton != null) && (parentGroup != null))
     {
         parentButton.block = true;
     }
 }