C# Class PlayerNavigator

Inheritance: MonoBehaviour
Show 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 property

public float completionDistance
return float

dudeAnimator public property

public Animator dudeAnimator
return Animator

i public static property

public static PlayerNavigator, i
return PlayerNavigator,

navAgent public property

public NavMeshAgent,UnityEngine navAgent
return UnityEngine.NavMeshAgent

navSparklesPrefab public property

public GameObject navSparklesPrefab
return GameObject

off public property

public bool off
return bool