Пример #1
0
 // Use this for initialization
 void Start()
 {
     gameLogic = GameObject.Find("GameLogic").GetComponent <RPCUpdates>();
     audio     = GetComponent <AudioSource>();
     sphere    = GetComponent <Rigidbody> ();
     nV        = GetComponent <NetworkView>();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     gameLogic = GameObject.Find("GameLogic").GetComponent<RPCUpdates>();
     audio = GetComponent<AudioSource>();
     sphere = GetComponent<Rigidbody> ();
     nV = GetComponent<NetworkView>();
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     wall = GetComponent<Rigidbody> ();
     gameLogic = GameObject.Find("GameLogic").GetComponent<RPCUpdates>();
 }
Пример #4
0
 // Use this for initialization
 void Start()
 {
     wall      = GetComponent <Rigidbody> ();
     gameLogic = GameObject.Find("GameLogic").GetComponent <RPCUpdates>();
 }