WEEK: 5
Active: September 14th - September 20th
Work Due: September 21st @ 11:59PM

Setup Objects

Now, we want to instantiate for all our objects as well as set everything to active.


    arInstance = new GameObject[arPrefab.Count];
    for(int i = 0; i < arPrefab.Count; i++)
    {
        arInstance[i] = Instantiate(arPrefab[i]);
        arInstance[i].gameObject.SetActive(false);
    }


Previous section:
Next section: