public void DeckSelectPol()//selects pol deck for player { player = playerfd; select = false; deckind = 2; StartShow (); }
public void DeckSelectCart()// selects cartoon deck for player { player = playercd; GStartGame (); select = false; D1.transform.localPosition=new Vector3(-120,1500,0);D2.transform.localPosition=new Vector3(-120,-4000,0); D3.transform.localPosition=new Vector3(-120,1500,0); fscreen.transform.localPosition = new Vector3 (0, 0, 0); deckind = 3; }
public void DeckSelectFant()//selects fantasy deck for player { player = playerfd; GStartGame (); select = false; D1.transform.localPosition=new Vector3(-120,1500,0);D2.transform.localPosition=new Vector3(-120,-4000,0); D3.transform.localPosition=new Vector3(-120,1500,0); fscreen.transform.localPosition = new Vector3 (0, 0, 0); deckind = 1; }
void Awake() { fetchedCards = new Dictionary<int, CardView>(); deck = GetComponent<DCardStack>(); DShowCards(); lastCount = deck.DCardCount; deck.CardRemoved += deck_CardRemoved; // for removing cards from gameobject deck.CardAdded += deck_CardAdded; }