示例#1
0
 // Use this for initialization
 void Start()
 {
     cursor.gameObject.SetActive(true);
     spots   = GetComponent <PlaySpots>();
     spawn   = GetComponent <SpawnCards>();
     current = spots.cardspots;
     MoveCursor();
     //GameState.GameSpeed = 1.0f;
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     SourceInventory.Init();
     spots = GetComponent <PlaySpots>();
     //availableCards = new List<CardType>(cardTypes.Length);
     //UpdateCardList();
     for (int i = 0; i < spots.cardspots.Length; i++)
     {
         SpawnCard(i);
     }
 }