Skip to content

Commit 4e2d324

Browse files
author
Stephen Hodgson
authored
Updated sharing readme
Renamed SpawnTestKeyboardSpawning to SyncObjectSpawner and added voice and key command table.
1 parent 85c79c4 commit 4e2d324

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Assets/HoloToolkit/Sharing/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,14 @@ Broadcasts the head transform of the local user to other users in the session, a
319319
#### RoomTest.cs
320320
Test class for demonstrating creating rooms and anchors.
321321

322-
#### SpawnTestKeyboardSpawning.cs
323-
Class that handles spawning sync objects on keyboard presses, for the `SpawningTest.scene`.
322+
#### SyncObjectSpawner.cs
323+
Class that handles spawning and deleteing sync objects for the `SpawningTest.scene`. Uses the `KeywordManager` to spawn objects using voice and keyboard input.
324+
325+
|Voice Command|Key Command|Description|
326+
|---|---|---|
327+
| Spawn Basic | Key `I`| Spawns a cube with a `SyncSpawnedObject` basic sync model.|
328+
| Spawn Custom | Key `O`| Spawns a sphere with a `SyncSpawnTestSphere` custom sync model.|
329+
| Delete Object | Key `M`| Deletes both sync model types.|
324330

325331
#### SyncSpawnTestSphere.cs
326332
Class that demonstrates a custom class using sync model attributes.
@@ -363,7 +369,7 @@ This test demonstrates how to spawn and delete sync objects in your scene and ac
363369
1. Ensure to launch the sharing service using: HoloToolkit -> Launch Sharing service
364370
2. Enter the IP address displayed in the console window into the Server Address of the Sharing object.
365371
3. **PrefabSpawnManager.cs** enables you to store prefab references to use when spawning.
366-
4. **SpawnTestKeyboardSpawning** demonstrates how to spawn sync objects, as well as custom class types.
372+
4. **SyncObjectSpawner.cs** demonstrates how to spawn and delete sync objects, as well as custom class types.
367373

368374
---
369375
##### [Go back up to the table of contents](#table-of-contents)

0 commit comments

Comments
 (0)