// Use this for initialization void Start() { GetComponent<SpriteRenderer>().sprite = _cellule; _scriptMoveCellule = GetComponent<MoveCellule>(); nbCellule = _compteurCellule.GetComponent<NbreCellule>(); nbCellule._nbreCellule +=1; contamin = false; _excited = false; }
// Use this for initialization void Start() { my_nbCellule = _compteurCellule.GetComponent<NbreCellule>(); }