예제 #1
0
    public void Cancel()
    {
        if (commandeList.Count != 0)
        {
            Commande commande = commandeList.Pop();
            commande.Undo();
            editManager.RefreshInfos();
        }

        else
        {
            Debug.Log("Aucune commande ne peut etre annule");
        }
    }