Пример #1
0
    // Start is called before the first frame update
    void Start()
    {
        cellsRoleSystem                = GetComponent <CellsRoleSystem>();
        DNADisplay.text                = Stats.stats.ADN.ToString();
        DNAPC                          = 1;
        Stats.stats.MaxCells           = 20;
        Stats.stats.MaxRedBloodCells   = 20;
        Stats.stats.MaxWhiteBloodCells = 5;


        //StartCoroutine(AutoTick());
        StartCoroutine(AutoTickRedBloodCells());

        //Application.targetFrameRate = 30;
    }
Пример #2
0
 void Start()
 {
     IdleCellCost   = 15;
     cellRoleSystem = GetComponent <CellsRoleSystem>();
 }