Exemple #1
0
 // Use this for initialization
 void Start()
 {
     for (int i = 0; i < Array.Length; i++)
     {
         Array[i].active = new bool[Array[i].switches.Length];
         scene           = GetComponent <SwapScene>();
     }
 }
Exemple #2
0
 void Start()
 {
     swapScene = GetComponent <SwapScene>();
     if (CheckIfUserAgreementAccepted() == 1)
     {
         StartCoroutine(LoadMainScene());
     }
 }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     scene    = GetComponent <SwapScene>();
     reappear = new bool[button.Length];
 }