C# Class Crosshair3D, VRDesignLab

Inheritance: MonoBehaviour
Mostrar archivo Open project: VRUX-CO/VRDesignLab Class Usage Examples

Public Properties

Property Type Description
fixedDepth float
kCrosshairTargetable string
kRevealerLayer int
matchDepthOnHitMode bool
offsetFromObjects float

Public Methods

Method Description
GetShowReticleOnClick ( ) : bool
SetShowReticleOnClick ( bool showOnClick ) : void

Private Methods

Method Description
Awake ( ) : void
CameraRay ( ) : Ray
EndButtonRevealer ( ) : void
EndHover ( ) : void
FadeOutCrosshair ( float delay ) : IEnumerator
LateUpdate ( ) : void
SendEventToGameObject ( GameObject go, string eventName ) : void
UpdateButtonRevealer ( ) : void
UpdateCrosshairOnClick ( ) : void
UpdateHoverState ( ) : void

Method Details

GetShowReticleOnClick() public method

public GetShowReticleOnClick ( ) : bool
return bool

SetShowReticleOnClick() public method

public SetShowReticleOnClick ( bool showOnClick ) : void
showOnClick bool
return void

Property Details

fixedDepth public_oe property

public float fixedDepth
return float

kCrosshairTargetable public_oe static_oe property

public static string kCrosshairTargetable
return string

kRevealerLayer public_oe static_oe property

public static int kRevealerLayer
return int

matchDepthOnHitMode public_oe property

public bool matchDepthOnHitMode
return bool

offsetFromObjects public_oe property

public float offsetFromObjects
return float