Roxaq

SpecialCardPlace

Nov 10th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. using UnityEngine;
  2. using System;
  3. using System.Collections;
  4.  
  5.  
  6. public class SpecialCardPlace : MonoBehaviour {
  7.  
  8. public GameObject[] specialCards;
  9. public int specialCardsID;
  10.  
  11.  
  12. // Use this for initialization
  13. void Start () {
  14.  
  15. try
  16. {
  17. specialCardsID = PlayerPrefs.GetInt("SETSELECTED");
  18.  
  19.  
  20. }
  21. catch (Exception e) {
  22.  
  23. Debug.Log("Null special cards");
  24. Debug.LogException(e, this);
  25.  
  26. }
  27.  
  28. }
  29.  
  30. // Update is called once per frame
  31. void Update () {
  32.  
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment