diff --git a/docs/tutorials/goldenpath_series/gp_intro.md b/docs/tutorials/goldenpath_series/gp_intro.md
index b16e9f228..cd8b3f897 100644
--- a/docs/tutorials/goldenpath_series/gp_intro.md
+++ b/docs/tutorials/goldenpath_series/gp_intro.md
@@ -19,13 +19,13 @@ Next steps will likely involve the existing Golden Path series to be completely
|
Hello World
| Golden Path One
|
| --- | --- |
-| Creating a new project
Installing Netcode
Creating and testing the basic networking building blocks
| Adding scripts to objects
Editor modes (Host Server and Client)
Basic player movement
Basic RPC use |
+| Creating a new project
Installing Netcode
Creating and testing the basic networking building blocks
| Adding scripts to objects
Editor modes (Host Server and Client)
Basic player movement
Basic RPC and Network variable use |
|
Golden Path Two
|
| --- |
-| Network variables (client and server-controlled)
Network transforms
More on RPCs|
+| Network variables (server-controlled)
Network transforms
More on RPCs|
\ No newline at end of file
diff --git a/docs/tutorials/goldenpath_series/gp_module_one.md b/docs/tutorials/goldenpath_series/gp_module_one.md
index f879733c7..ef89c1c3d 100644
--- a/docs/tutorials/goldenpath_series/gp_module_one.md
+++ b/docs/tutorials/goldenpath_series/gp_module_one.md
@@ -155,7 +155,7 @@ namespace HelloWorld
GUILayout.Label("Mode: " + mode);
}
-static void SubmitNewPosition()
+ static void SubmitNewPosition()
{
if (GUILayout.Button(NetworkManager.Singleton.IsServer ? "Move" : "Request Position Change"))
{
@@ -218,7 +218,7 @@ We call these methods inside of `OnGUI()`.
```csharp
-void OnGUI()
+ void OnGUI()
{
GUILayout.BeginArea(new Rect(10, 10, 300, 300));
if (!NetworkManager.Singleton.IsClient && !NetworkManager.Singleton.IsServer)
diff --git a/docs/tutorials/goldenpath_series/gp_module_two.md b/docs/tutorials/goldenpath_series/gp_module_two.md
index c89b375d5..10ad0233d 100644
--- a/docs/tutorials/goldenpath_series/gp_module_two.md
+++ b/docs/tutorials/goldenpath_series/gp_module_two.md
@@ -86,16 +86,16 @@ Now we will test the Server-controlled Network Variable works as we intended.
1. Select **File > Build and Run**.
1. Stop the player.
-2. Launch the client and server together in a terminal as shown in [Testing the command line helper](#testing-the-command-line-helper).
+2. Launch the client and server together in a terminal as shown in [Testing the command line helper](../helloworld.md#testing-the-command-line-helper).
3. After a brief delay, the client and server will spawn.
4. You should see the following in the console, showing that the server and client are sharing the variable:
```
Server's var initialized to: 0
-Server set its var to: 0.1, has client var at: 0
-Server set its var to: 3.099999, has client var at: 2.6
-Server set its var to: 6.099997, has client var at: 5.599997
+Server set its var to: 0.1
+Server set its var to: 3.099999
+Server set its var to: 6.099997
```
:::note
Since the printing to the terminal does not happen on every tick, the numbers will not match up perfectly.
@@ -162,9 +162,8 @@ This section adds some basic RPCs to the project.
1. Click the **Player** prefab.
1. In the **Player** prefab Inspector tab, click **Add Component**.
1. Click **Scripts**, and add the `RpcTest.cs` script you created earlier.
-1. Right Click **Player** prefab.
-1. Open the `RpcTest.cs` script.
-1. Edit the `RpcTest.cs` script to match the following.
+2. Open the `RpcTest.cs` script.
+3. Edit the `RpcTest.cs` script to match the following.
Click to show/hide the Code.
diff --git a/docs/tutorials/helloworld.md b/docs/tutorials/helloworld.md
index cde361ef1..360483a6f 100644
--- a/docs/tutorials/helloworld.md
+++ b/docs/tutorials/helloworld.md
@@ -68,10 +68,8 @@ This section adds in a player object and spawns it for each connected player.
:::
5. Select `NetworkManager`.
-6. Inside the `NetworkManager` component tab, locate the `NetworkPrefabs` field.
-7. Click `+` to create a slot.
-8. Drag this player prefab from above into the new empty slot
-9. Drag the prefab also into the `Player Prefab` slot.
+6. Inside the `NetworkManager` component tab, locate the `Player Prefab` field.
+7. Drag this player prefab from above into this field.
:::important
When you drop the prefab into the `Player Prefab` slot, you are telling the library that when a client connects to the game, automatically spawn this prefab as the character for the connecting client. If you do not have any prefab set as the `Player Prefab` no player object will be spawned.
@@ -127,9 +125,9 @@ public class NetworkCommandLine : MonoBehaviour
var args = GetCommandlineArgs();
- if (args.TryGetValue("-mlapi", out string mlapiValue))
+ if (args.TryGetValue("-mode", out string mode))
{
- switch (mlapiValue)
+ switch (mode)
{
case "server":
netManager.StartServer();
@@ -216,22 +214,22 @@ You may get a UAC prompt requesting permission for the binary to run you should
Server:
```
- \Build\HelloWorld.exe -mlapi server
+ \Build\HelloWorld.exe -mode server
```
Client:
```
- \Build\HelloWorld.exe -mlapi client
+ \Build\HelloWorld.exe -mode client
```
To run these commands on a single line:
```
- HelloWorld\Build\HelloWorld.exe -mlapi server & HelloWorld\Build\HelloWorld.exe -mlapi client
+ HelloWorld\Build\HelloWorld.exe -mode server & HelloWorld\Build\HelloWorld.exe -mode client
```
Example:
```
- C:\Users\sarao>HelloWorld\Build\HelloWorld.exe -mlapi server & HelloWorld\Build\HelloWorld.exe -mlapi client
+ C:\Users\sarao>HelloWorld\Build\HelloWorld.exe -mode server & HelloWorld\Build\HelloWorld.exe -mode client
```
:::important
@@ -247,17 +245,17 @@ Modify the commands as follows:
Server:
```
- \Build\HelloWorld.exe -logfile log-server.txt -mlapi server
+ \Build\HelloWorld.exe -logfile log-server.txt -mode server
```
Client:
```
- \Build\HelloWorld.exe -logfile log-client.txt -mlapi client
+ \Build\HelloWorld.exe -logfile log-client.txt -mode client
```
Example (Running as a single command line):
```
- C:\Users\sarao>HelloWorld\Build\HelloWorld.exe -logfile -log-server.txt -mlapi server & HelloWorld\Build\HelloWorld.exe -logfile log-client.txt -mlapi client
+ C:\Users\sarao>HelloWorld\Build\HelloWorld.exe -logfile -log-server.txt -mode server & HelloWorld\Build\HelloWorld.exe -logfile log-client.txt -mode client
```
:::
@@ -272,17 +270,17 @@ For Mac you should do the following:
Server
```
-/Build/HelloWorld.app/Contents/MacOS/ -mlapi server -logfile -
+/Build/HelloWorld.app/Contents/MacOS/ -mode server -logfile -
```
Client
```
-/Build/HelloWorld.app/Contents/MacOS/ -mlapi client -logfile -
+/Build/HelloWorld.app/Contents/MacOS/ -mode client -logfile -
```
Run both as a single command:
```
-/Build/HelloWorld.app/Contents/MacOS/ -mlapi server -logfile - & ; ~ /Build/HelloWorld.app/Contents/MacOS/ -mlapi client -logfile -
+/Build/HelloWorld.app/Contents/MacOS/ -mode server -logfile - & ; ~ /Build/HelloWorld.app/Contents/MacOS/ -mode client -logfile -
```