Example #1
0
 void Start()
 {
     isRunning    = false;
     pathname     = "j1_1";
     path_counter = 1;
     save         = FindObjectOfType <Sauvegarde>();
     save.Find_dice();
     advance = save.Get_counter();
     if (advance != 0)
     {
         Play_iTween(this.gameObject);
         Sauvegarde.dices.gameObject.SetActive(false);
     }
 }