Exemplo n.º 1
0
 public void DestroyThisGameObject()
 {
     RemoveFromTriggerList();
     StateSavingControl.RemoveFromTriggerList(CardName);
     Destroy(gameObject);
 }
Exemplo n.º 2
0
    //////////////////////
    /// utilities
    //////////////////////

    public static void RemoveFromLists(Card removedCard)
    {
        TriggerList.Remove(removedCard);
        StateSavingControl.RemoveFromTriggerList(removedCard.CardName);
        StateSavingControl.Save();
    }