// Use this for initialization
 void Start()
 {
     PlayerObj=GameObject.Find("Player");
     if(null!=GameObject.Find("MultiShoot"))
     {
         MultiShot=GameObject.Find("MultiShoot").GetComponent<multiShoot>();
     }
     Connect();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     PlayerObj = GameObject.Find("Player");
     if (null != GameObject.Find("MultiShoot"))
     {
         MultiShot = GameObject.Find("MultiShoot").GetComponent <multiShoot>();
     }
     Connect();
 }