void Start() { numberOnLoop = 1; checkPointPassageSuccess = 0; CheckpointSuccess.enabled = false; alreadyIncrease = false; manager = GameObject.FindWithTag("manager"); managerScript = manager.GetComponent <FigureManager>(); }
public GameObject FourArrow;//le feedBack a deplacer void Start() { scriptScore = GameObject.Find("_manager").GetComponent <CalculScore>(); managerScript = GameObject.Find("_manager").GetComponent <FigureManager>(); //feedBackCheckPointScript = GameObject.Find("1").GetComponent<feedBackCheckPoint>(); checkPointPassageSuccess = 0; // CheckpointSuccess.enabled = false; alreadyIncrease = false; numberOnLoop = 1; //manager = GameObject.FindWithTag("manager"); // managerScript = manager.GetComponent<FigureManager>(); checkPointActual = 0; checkPointNext = 1; }