Class vCast_Wall
vCast Wall for blocker user moving.
vCast 牆壁,用作阻止使用者移動。
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
vCast_Wall
Namespace: Votanic.vXR.vCast
Assembly: Votanic.vXR.dll
Syntax
[AddComponentMenu("")]
public class vCast_Wall : MonoBehaviour
Fields
effectColor
Color of touch wall effect.
觸碰牆壁效果顏色。
Declaration
[Tooltip("Color of touch wall effect.\n觸碰牆壁效果顏色。")]
public Color effectColor
Field Value
Type | Description |
---|---|
UnityEngine.Color |
effectDistort
Speed of touch wall effect.
觸碰牆壁效果速度。
Declaration
[Tooltip("Speed of touch wall effect.\n觸碰牆壁效果速度。")]
public float effectDistort
Field Value
Type | Description |
---|---|
System.Single |
effectFadeDuration
Effect on off duration of touch wall effect.
觸碰牆壁效果出現及消失的時間。
Declaration
[Tooltip("Effect on off duration of touch wall effect.\n觸碰牆壁效果出現及消失的時間。")]
public float effectFadeDuration
Field Value
Type | Description |
---|---|
System.Single |
effectSpeed
Speed of touch wall effect.
觸碰牆壁效果速度。
Declaration
[Tooltip("Speed of touch wall effect.\n觸碰牆壁效果速度。")]
public float effectSpeed
Field Value
Type | Description |
---|---|
System.Single |
fadeWhenTouch
Fade out if user touches the wall.
當使用者觸碰到牆壁時淡出。
Declaration
[Header("[Settings]")]
[Tooltip("Fade out if user touches the wall.\n當使用者觸碰到牆壁時淡出。")]
public bool fadeWhenTouch
Field Value
Type | Description |
---|---|
System.Boolean |
touchEffect
Show touch wall effect if true.
當 true 時顯示觸碰牆壁效果。
Declaration
[Tooltip("Show touch wall effect.\n顯示觸碰牆壁效果。")]
public bool touchEffect
Field Value
Type | Description |
---|---|
System.Boolean |
touchUser
Return true if the wall is touching user.
當牆壁正觸碰使用者時傳回 true。
Declaration
[Header("[Status]")]
[Tooltip("Return true if the wall is touching user.\n當牆壁正觸碰使用者時傳回 true。")]
public bool touchUser
Field Value
Type | Description |
---|---|
System.Boolean |