Class vGear_Interactables
vGear Interactables.
vGear 交互物。
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
vGear_Interactables
Inherited Members
Namespace: Votanic.vXR.vGear
Assembly: Votanic.vXR.dll
Syntax
[AddComponentMenu("")]
public class vGear_Interactables : vCast_Interactables
Fields
auxiliarySetting
Auxiliary setting of this interactables.
這個交互物的輔助物設定。
Declaration
[Tooltip("Auxiliary setting of this interactables.\n這個交互物的輔助物設定。")]
public AuxiliarySetting auxiliarySetting
Field Value
Type | Description |
---|---|
AuxiliarySetting |
colliderDetection
Collider Interactor Type object detection setting.
碰撞器類型的物件偵測設定。
Declaration
[Tooltip("Collider Interactor Type object detection setting.\n碰撞器類型的物件偵測設定。")]
public ObjectDetection colliderDetection
Field Value
Type | Description |
---|---|
ObjectDetection |
interactions
Additional interactions.
額外的互動方法。
Declaration
[Tooltip("Additional interactions.\n額外的互動方法。")]
public List<Interaction> interactions
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<Interaction> |
networkCommands
Automatically add "Network=" to all interactions command if true.
當 true 時自動將所有互動的指令加入「Network=」字眼。
Declaration
[Header("[Additional Setting]")]
[Tooltip("Automatically add \"Network=\" to all interactions command.\n自動將所有互動的指令加入「Network=」字眼。")]
public bool networkCommands
Field Value
Type | Description |
---|---|
System.Boolean |
Methods
OnCollisionEnter(Collision)
Declaration
[Obfuscation(Exclude = true)]
public override void OnCollisionEnter(Collision collision)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Collision | collision |
Overrides
OnCollisionExit(Collision)
Declaration
[Obfuscation(Exclude = true)]
public override void OnCollisionExit(Collision collision)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Collision | collision |
Overrides
OnTriggerEnter(Collider)
Declaration
[Obfuscation(Exclude = true)]
public override void OnTriggerEnter(Collider other)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Collider | other |
Overrides
OnTriggerExit(Collider)
Declaration
[Obfuscation(Exclude = true)]
public override void OnTriggerExit(Collider other)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Collider | other |