Example #1
0
 void Start()
 {
     Application.runInBackground = true;
     if (!GetComponent <NetworkView>())
     {
         gameObject.AddComponent <NetworkView>();
     }
     IMG      = DefaultIMG;
     peerType = Network.peerType;
     inst     = this;
 }
Example #2
0
 void Start()
 {
     Application.runInBackground = true;
     if(!GetComponent<NetworkView>())
     {
         gameObject.AddComponent<NetworkView>();
     }
     IMG = DefaultIMG;
     peerType = Network.peerType;
     inst = this;
 }