Example #1
0
 void Start()
 {
     maxnum  = 10;
     marioo  = new marioAPI();
     count   = 0;
     module1 = new GameObject[10];
     for (int i = 0; i < 10; i++)
     {
         module1[i] = Instantiate(module1_, this.transform);
         module1[i].SetActive(false);
         module1[i].transform.position = module1_.transform.position;
     }
     module1[0].SetActive(true);
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     marioo = new marioAPI();
 }