示例#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>();
 }