From 66e8b46d03c5ac6607892cebc95c5fdcfe1518a7 Mon Sep 17 00:00:00 2001 From: chippermonky Date: Sat, 6 Dec 2014 09:37:43 -0800 Subject: [PATCH] Fixed image tags being displayed as code quotes. Include "using System" to one of C# code examples. Hi Gregg --- docs/unitydocs.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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**