Exemplo n.º 1
0
    void Start()
    {
        player = GameObject.FindWithTag("Player");
        if (!player)
        {
            Debug.LogError("CurrentFlow: No player was found. Add a player to the scene.");
        }

        currentIndex = 0;
        speed        = normalSpeed;

        WireManager.SortWires();
    }