diff --git a/docs/unitydocs.md b/docs/unitydocs.md index a611523f..4b7ab3d7 100644 --- a/docs/unitydocs.md +++ b/docs/unitydocs.md @@ -51,6 +51,7 @@ C# minimal code using UnityEngine; using HappyFunTimes; + using System; class MyPlayer : MonoBehaviour { @@ -87,13 +88,13 @@ Now make a new GameObject and add a Script Component, HappyFunTimes->PlayerSpawn In the properties for the PlayerSpawner set the `prefab to spawn for player` to the prefab you just created. Leave `gameId` blank! - + If happyfuntimes is running, and you followed all the other instructions about editing `package.json` and running `hft add` etc, then if you run the game you should see the message - + If you open a browser window and go to `http://localhost:18679` you should see your prefab get spawned. Open more browser windows/tabs you'll see more get spawned. Close them @@ -229,7 +230,7 @@ so. * Run in Background (checked) * Display Resolution Dialog (disabled) - + 5. Save the Scene and **Exit Unity**