// Use this for initialization
 void Start()
 {
     //print ("Test -1 setting: " + PlayerPrefs.GetInt ("letter20"));
     //print("list size: " + userSettings.getListSize());
     getUserChoices();
     userSettings = GetComponent <letterSettings>();
     createLetters();
     createPictures();
     playAudio = GetComponent <AudioSource>();
     playAudio.PlayOneShot(openingMessage); // "have fun finding the letters + pic cues that match"
     ShufflePictures(chosenPics, chosenLets);
 }
Example #2
0
 void Awake()
 {
     checkEmpty = checkEmpty.GetComponent<letterSettings>();
 }
Example #3
0
 void Start()
 {
     settings = GetComponent <letterSettings> ();
 }
Example #4
0
    [SerializeField] private letterSettings checkEmpty; // create an instance of letterSettings so we can retrieve the list of id's to be added

    void Awake()
    {
        checkEmpty = checkEmpty.GetComponent <letterSettings>();
    }
Example #5
0
 void Start()
 {
     settings = settings.GetComponent<letterSettings>();
 }