Update README.md
This commit is contained in:
parent
98cec146bf
commit
a329f8fd44
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ Now for the juicy part, using it. Like I mentioned in the 'What' section, this i
|
||||||
First things first, you will need:
|
First things first, you will need:
|
||||||
* Mirror, Install that from Asset Store.
|
* Mirror, Install that from Asset Store.
|
||||||
* Download the latest release of Light Reflective Mirror Unity Package and put that in your project also. Download from: [Releases](https://github.com/Derek-R-S/Light-Reflective-Mirror/releases).
|
* Download the latest release of Light Reflective Mirror Unity Package and put that in your project also. Download from: [Releases](https://github.com/Derek-R-S/Light-Reflective-Mirror/releases).
|
||||||
*
|
|
||||||
#### Client Setup
|
#### Client Setup
|
||||||
Running a client is fairly straight forward, attach the LightReflectiveMirrorTransport script to your NetworkManager and set it as the transport. Put in the IP/Port of your relay server, assign LightReflectiveMirror as the Transport on the NetworkManager. Then attach the SimpleWebTransport script and assign that in the 'ClientToServerTransport' in the Light Reflective Mirror inspector. When you start a server, you can simply get the URI from the transport and use that to connect. If you wish to connect without the URI, the LightReflectiveMirror component has a public "Server ID" field which is what clients would set as the address to connect to.
|
Running a client is fairly straight forward, attach the LightReflectiveMirrorTransport script to your NetworkManager and set it as the transport. Put in the IP/Port of your relay server, assign LightReflectiveMirror as the Transport on the NetworkManager. Then attach the SimpleWebTransport script and assign that in the 'ClientToServerTransport' in the Light Reflective Mirror inspector. When you start a server, you can simply get the URI from the transport and use that to connect. If you wish to connect without the URI, the LightReflectiveMirror component has a public "Server ID" field which is what clients would set as the address to connect to.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue