Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…Mirror into main
  • Loading branch information
Speidy674 committed Mar 13, 2023
2 parents c00d1d7 + 74d99c2 commit e76c432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Now for the juicy part, using it. Like I mentioned in the 'What' section, this i

First things first, you will need:
* 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/Speidy674/Light-Reflective-Mirror/releases).

#### 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.
Expand All @@ -69,7 +69,7 @@ Light Reflective Mirror has a built in room/server list if you would like to use
To request the server list you need a reference to the LightReflectiveMirrorTransport from your script and call 'RequestServerList()'. This will invoke a request to the server to update our server list. Once the response is recieved the field 'relayServerList' will be populated and you can get all the servers from there.

#### Server Setup
Download the latest Server release from: [Releases](https://github.com/Derek-R-S/Light-Reflective-Mirror/releases)
Download the latest Server release from: [Releases]([https://github.com/Derek-R-S/Light-Reflective-Mirror/releases](https://github.com/Speidy674/Light-Reflective-Mirror/releases))
Make sure you have .NET Core 5.0
And all you need to do is run LRM.exe on windows, or "dotnet LRM.dll" on linux!

Expand Down

0 comments on commit e76c432

Please sign in to comment.