C# Class PlayerNavigator

Inheritance: MonoBehaviour
Mostra file Open project: Devination/TheRightWay Class Usage Examples

Public Properties

Property Type Description
completionDistance float
dudeAnimator Animator
i PlayerNavigator,
navAgent UnityEngine.NavMeshAgent
navSparklesPrefab GameObject
off bool

Public Methods

Method Description
NavigateToPoint ( Vector3 targetPos ) : void
SetTarget ( GameObject go ) : void

Private Methods

Method Description
Awake ( ) : void
Update ( ) : void

Method Details

NavigateToPoint() public method

public NavigateToPoint ( Vector3 targetPos ) : void
targetPos Vector3
return void

SetTarget() public static method

public static SetTarget ( GameObject go ) : void
go GameObject
return void

Property Details

completionDistance public_oe property

public float completionDistance
return float

dudeAnimator public_oe property

public Animator dudeAnimator
return Animator

i public_oe static_oe property

public static PlayerNavigator, i
return PlayerNavigator,

navAgent public_oe property

public NavMeshAgent,UnityEngine navAgent
return UnityEngine.NavMeshAgent

navSparklesPrefab public_oe property

public GameObject navSparklesPrefab
return GameObject

off public_oe property

public bool off
return bool