Esempio n. 1
0
 void Start()
 {
     setsonic   = FindObjectOfType <setactive>();
     bullscropt = FindObjectOfType <BulletShooting>();
     playermov  = FindObjectOfType <Playermovement>();
     drawpowref = FindObjectOfType <bullettypes>();
     expref     = FindObjectOfType <exp>();
 }
Esempio n. 2
0
 void Start()
 {
     scriptref          = this.gameObject.GetComponent <BulletShooting>();
     scriptref2         = this.gameObject.GetComponent <bullettypes>();
     scriptref2.enabled = false;
     cardSref           = FindObjectOfType <cards>();
     cardrep1           = FindObjectOfType <cards1>();
     cardrep2           = FindObjectOfType <cards2>();
 }