Beispiel #1
0
 public static void HandTrigger(GameObject goPointer)
 {
     if (goPointer.CompareTag("Flower"))
     {
         int idPointer = Instance.ArrayContains(Instance.tabGoPointer, goPointer);
         if (idPointer != -1 && idPointer == Instance.currentPointer)
         {
             Instance.DisappearPointer(idPointer);
             Instance.currentPointer++;
             if (Instance.currentPointer >= Instance.listTabs[Instance.currentTab].Count)
             {
                 Instance.currentTab++;
                 Instance.Invoke("InitTableau", 1);
             }
         }
     }
 }