C# Class ClickTarget, VRDesignLab

Inheritance: MonoBehaviour, IClickTarget
Afficher le fichier Open project: VRUX-CO/VRDesignLab Class Usage Examples

Méthodes protégées

Méthode Description
Awake ( ) : void
OnClick ( ) : void
OnDestroy ( ) : void
Start ( ) : void

Private Methods

Méthode 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 méthode

protected Awake ( ) : void
Résultat void

OnClick() protected méthode

protected OnClick ( ) : void
Résultat void

OnDestroy() protected méthode

protected OnDestroy ( ) : void
Résultat void

Start() protected méthode

protected Start ( ) : void
Résultat void