// Use this for initialization
 void Start()
 {
     PlayerObj=GameObject.Find("Player");
     if(null!=GameObject.Find("MultiShoot"))
     {
         MultiShot=GameObject.Find("MultiShoot").GetComponent<multiShoot>();
     }
     Connect();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     PlayerObj = GameObject.Find("Player");
     if (null != GameObject.Find("MultiShoot"))
     {
         MultiShot = GameObject.Find("MultiShoot").GetComponent <multiShoot>();
     }
     Connect();
 }