Пример #1
0
    void startGame()
    {
        Array[Height / 2, Width / 2].GetComponent <Node>().setNS(NodeState.Snake);
        snake.AddNode(Array[Height / 2, Width / 2].GetComponent <Node>());

        FoodEaten = true;

        StartCoroutine(UpdateArray());
    }