Ejemplo n.º 1
0
    public void LeftCannon()
    {
        var currentIndex = cannonController.CannonModels.IndexOf(cannonController.CurrentCannon);

        if (currentIndex > 0)
        {
            cannonController.CurrentCannon = cannonController.CannonModels[currentIndex - 1];
            cannonController.UpdateUI();
        }
    }