diff --git a/DOC/Add_scroll_to_unity.md b/DOC/Add_scroll_to_unity.md index c0952dfc0b090f477eb7012630f4f1d4ee5d8102..7a31ae229f93774e448a24cfc64e3e9845e93178 100644 --- a/DOC/Add_scroll_to_unity.md +++ b/DOC/Add_scroll_to_unity.md @@ -4,11 +4,16 @@ In archives: 1. Create and build Scroll in "archives\MathHub\FrameIT\frameworld\source\Scrolls" folder. + 2. In "archives\MathHub\FrameIT\frameworld\source\DefaultSituationSpace.mmt" include your scroll + 3. Build "DefaultSituationSpace.mmt" In uframeit 1. add your scroll to "UFrameIT\Assets\Scripts\MMTServer\CommunicationProtocoll\MMTConstants.cs"\ + if Class "GlobalBehaviour" ("UFrameIT\Assets\Scripts\GlobalBehaviour.cs") Method "GetScrollsfromServer()" loads scrolls from "UFrameIT\Assets\StreamingAssets\scrolls.json": + 2. Open: "http://localhost:8085/scroll/list" and copy all the text. + 3. Now paste this into: "UFrameIT\Assets\StreamingAssets\scrolls.json" and start the game. \ No newline at end of file