Пример #1
0
    public void CreateInfectedCell(Chromosome _inputChromosome, Vector3 _location)
    {
        GameObject newCell = (GameObject)Instantiate(cell, _location, transform.rotation);
        CellScript script  = newCell.GetComponent <CellScript>();

        script.manager = this;
        script.CreateInfected(_inputChromosome);

        infectedList.Add(script);
    }