Editar

Compartilhar via


FaceUser Class

Definition

The associated game object will turn depending on the user's eye gaze: The currently looked at part will move towards the front, facing the user.

public ref class FaceUser : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/FaceUser")]
public class FaceUser : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/FaceUser")>]
type FaceUser = class
    inherit MonoBehaviour
Public Class FaceUser
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
FaceUser
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

FaceUser()

Methods

Disengage()
Engage()
Update()

Applies to