Class vGear_User
vGear User in XR system .
XR 系統中的 vGear 使用者。
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
vGear_User
Inherited Members
Namespace: Votanic.vXR.vGear
Assembly: Votanic.vXR.dll
Syntax
[AddComponentMenu("")]
public class vGear_User : vCast_User
Fields
current
Current store point.
目前的儲存點。
Declaration
[Tooltip("Current store point.\n目前的儲存點。")]
public int current
Field Value
Type | Description |
---|---|
System.Int32 |
maxStorePoint
Number of teleported points can be stored.
最多可儲存的已傳送點。
Declaration
[Tooltip("Number of teleported points can be stored.\n最多可儲存的已傳送點。")]
public int maxStorePoint
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
ClearTeleportedPoints()
Clear the store points.
清除所有傳送儲存點。
Declaration
public void ClearTeleportedPoints()
Teleport(TeleportPoint)
Transform user to stored teleport point.
將使用者變換到已儲存的傳送地點。
Teleport(TeleportPoint.Back)
Declaration
public void Teleport(TeleportPoint type)
Parameters
Type | Name | Description |
---|---|---|
TeleportPoint | type | Teleport point type |