Ejemplo n.º 1
0
    // Called when player is falling
    public void OnDescent()
    {
        if (panelController.CanSpawnNext())
        {
            panelController.Spawn(currLevel);
        }

        // Check for panels to despawn
        panelController.Despawn();
    }