コード例 #1
0
 public void SendGridPuzzleToDataTab(bool[] states, PuzzleGrid.CellType[] types, PuzzleGrid.GridType gtype, int start, int end, int width, int height, PuzzleGrid.GridColorTheme colors, GameObject t1, GameObject t2, GameObject t3, GameObject t4, UseData ud)
 {
     if (lastDataSideRH)
     {
         // Send to RH tab
         dataTabRH.Reset();
         dataTabRH.GridPuzzle(states, types, gtype, start, end, width, height, colors, t1, t2, t3, t4, ud);
         OpenTab(4, true, TabMSG.GridPuzzle, 0, handedness.RightHand);
         SearchFXRH.SetActive(true);
     }
     else
     {
         // Send to LH tab
         dataTabLH.Reset();
         dataTabLH.GridPuzzle(states, types, gtype, start, end, width, height, colors, t1, t2, t3, t4, ud);
         OpenTab(4, true, TabMSG.GridPuzzle, 0, handedness.LeftHand);
         SearchFXLH.SetActive(true);
     }
 }
コード例 #2
0
ファイル: MFDManager.cs プロジェクト: curtiszimmerman/Citadel
 public void SendGridPuzzleToDataTab(bool[] states, PuzzleGrid.CellType[] types, PuzzleGrid.GridType gtype, int start, int end, int width, int height, PuzzleGrid.GridColorTheme colors)
 {
     if (lastDataSideRH)
     {
         // Send to RH tab
         dataTabRH.Reset();
         dataTabRH.GridPuzzle(states, types, gtype, start, end, width, height, colors);
         OpenTab(4, true, TabMSG.GridPuzzle, 0, handedness.LeftHand);
     }
     else
     {
         // Send to LH tab
         dataTabLH.Reset();
         dataTabLH.GridPuzzle(states, types, gtype, start, end, width, height, colors);
         OpenTab(4, true, TabMSG.GridPuzzle, 0, handedness.LeftHand);
     }
 }
コード例 #3
0
 public void GridPuzzle(bool[] states, PuzzleGrid.CellType[] types, PuzzleGrid.GridType gtype, int start, int end, int width, int height, PuzzleGrid.GridColorTheme colors, GameObject t1, GameObject t2, GameObject t3, GameObject t4, UseData ud)
 {
     puzzleGrid.GetComponent <PuzzleGrid>().SendGrid(states, types, gtype, start, end, width, height, colors, t1, t2, t3, t4, ud);
 }
コード例 #4
0
 public void GridPuzzle(bool[] states, PuzzleGrid.CellType[] types, PuzzleGrid.GridType gtype, int start, int end, int width, int height, PuzzleGrid.GridColorTheme colors, GameObject target)
 {
     puzzleGrid.GetComponent <PuzzleGrid>().SendGrid(states, types, gtype, start, end, width, height, colors, target);
 }