C# Class ClickTarget, VRDesignLab

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

Protected Methods

Method Description
Awake ( ) : void
OnClick ( ) : void
OnDestroy ( ) : void
Start ( ) : void

Private Methods

Method Description
Fade ( float from, float to, float seconds ) : IEnumerator

Fades the attached materials from an alpha value to another.

MoveCamera ( Vector3 newPosition ) : IEnumerator

Moves the camera to a new position.

OnDestinationReached ( ) : void

Called when the camera reaches its destination.

OnMovingCamera ( ) : void

Called when the camera starts moving.

SetMaterialsAlpha ( float alpha ) : void

Sets attached material alpha values.

SetTargetable ( bool state ) : void

Gets the targetable state of the game object.

Method Details

Awake() protected method

protected Awake ( ) : void
return void

OnClick() protected method

protected OnClick ( ) : void
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void