ExampleTeleport Class |
Namespace: ImmerseSDK.Examples
public class ExampleTeleport : ExampleBase
The ExampleTeleport type exposes the following members.
Name | Description | |
---|---|---|
ExampleTeleport | Initializes a new instance of the ExampleTeleport class |
Name | Description | |
---|---|---|
GetNextTargetIndex |
Gets the next index
| |
Start |
Make the Unity Start method a coroutine, so it can yield while the ImmerseSDK is initialising
(Overrides ExampleBaseStart.) | |
TeleportAvatar |
Teleports the user to the next index in the array
| |
Update |
Standard Unity Update method
|
Name | Description | |
---|---|---|
teleportTargets |
List of transforms in the scene
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |