Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     Deck       = GameObject.Find("Decks");
     deck       = Deck.GetComponent <DeckOne> ();
     canvas     = GameObject.Find("Canvas");
     cardList   = canvas.GetComponent <DeckListGui> ();
     cardNumber = 0;
 }
Exemplo n.º 2
0
    public void BuildCustomDeck()
    {
        GameObject[] PlayersAlive = GameObject.FindGameObjectsWithTag("Player");
        //		Debug.Log (PlayersAlive.Length);

        //Rakentaa itsetehdyn pakan. Pakkaa pystyy muokkaamaan kylän "library":ssä


        GameObject DeckOne = GameObject.Find("Decks");
        DeckOne    deckOne = DeckOne.GetComponent <DeckOne> ();

        deckOne.Deck();
    }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     Deck = GameObject.Find("Decks");
     deck = Deck.GetComponent <DeckOne> ();
 }