Skip to content

Commit 74b7708

Browse files
committed
Merge pull request #6 from chippermonky/patch-1
Fixed image tags being displayed as code quotes. Include "using System" ...
2 parents 6ec465d + 66e8b46 commit 74b7708

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docs/unitydocs.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ C# minimal code
5151

5252
using UnityEngine;
5353
using HappyFunTimes;
54+
using System;
5455

5556
class MyPlayer : MonoBehaviour
5657
{
@@ -87,13 +88,13 @@ Now make a new GameObject and add a Script Component, HappyFunTimes->PlayerSpawn
8788
In the properties for the PlayerSpawner set the `prefab to spawn for player` to the
8889
prefab you just created. Leave `gameId` blank!
8990

90-
<img src="../images/unity/player-spawner-properties.png" width="279" height="94" />
91+
<img src="../images/unity/player-spawner-properties.png" width="279" height="94" />
9192

9293
If happyfuntimes is running, and you followed all the other instructions about editing
9394
`package.json` and running `hft add` etc, then if you run the game you should see the
9495
message
9596

96-
<img src="../images/unity/socket-opened.png" width="238" height="65" />
97+
<img src="../images/unity/socket-opened.png" width="238" height="65" />
9798

9899
If you open a browser window and go to `http://localhost:18679` you should see your
99100
prefab get spawned. Open more browser windows/tabs you'll see more get spawned. Close them
@@ -229,7 +230,7 @@ so.
229230
* Run in Background (checked)
230231
* Display Resolution Dialog (disabled)
231232

232-
<img src="../images/unity/player-settings.png" width="274" height="423" />
233+
<img src="../images/unity/player-settings.png" width="274" height="423" />
233234

234235
5. Save the Scene and **Exit Unity**
235236

0 commit comments

Comments
 (0)