Modifier

Partager via


LineFollower Class

Definition

Synchronizes the follower's transform position with the point along the line.

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

Constructors

LineFollower()

Properties

Follower

The transform that will follow the point along the line.

NormalizedLength

Gets a point along the line at the specified normalized length.

Applies to