Click or drag to resize

ImmerseSDK.Examples Namespace

Example scripts
Classes
  ClassDescription
Public classContiniousRotate
Helper component the continuously rotates itself while it is enabled
Public classExampleAvatarRecordingPlayback
This example shows how to play back an avatar recording
Public classExampleBase
Base class for common functionality in examples
Public classExampleControllerModels
This example shows how to show/hide the native controller models on each hand
Public classExampleCustomHandMenu
This example shows how to create commands to put on the hand menu
Public classExampleCustomMessage
This example shows how to implement custom messages. Any user can press a key to send a custom message to all connected users, including themselves. When the message is received, it is used to toggle the visibility of an object in the scene. For a guide that covers the whole process of setting up custom message types and using them in your scenes, please see this page on the wiki - https://immerselearning.atlassian.net/wiki/spaces/SDK/pages/139395094/Custom+Scene+Messages
Public classExampleObjectState
Example of object state that will be synchronised
Public classExampleSynchronisedInstantiation
This example shows how to implement script-based object instatiation
Public classExampleTeleport
This example shows how to implement script-based avatar teleporting. Users can press a key to teleport themselves to a specific location within the scene.
Public classExampleTeleportButton
An example of using the world space button to switch between game objects when a button is pressed
Public classExampleTeleportGroup
This example shows how to implement script-based teleporting for a whole group of avatars by using custom messages. Any user can press a key to teleport all connected users to a specific location within the scene.
Public classExampleWorldSpaceButtonUse
An example of using the world space button to switch between game objects when a button is pressed
Public classLaserTool
This example shows how to create a custom script to read input from the controller without the SDK interfering. You could just use ToolPickup on it's own, but we wanted to show you how to read input yourself and use that to switch a laser on and off
Public classTeleportCommand
This is a command that will teleport the user to the location specified
Public classToggleGameObjectCommand
This is a command that will toggle a GameObject
Public classTogglePageCommand
This is a command that toggle the availability of a page