INTERNAL_CALL_SetDestination() private method

private INTERNAL_CALL_SetDestination ( NavMeshAgent self, Vector3 &target ) : bool
self NavMeshAgent
target Vector3
return bool
コード例 #1
0
 /// <summary>
 ///   <para>Sets or updates the destination thus triggering the calculation for a new path.</para>
 /// </summary>
 /// <param name="target">The target point to navigate to.</param>
 /// <returns>
 ///   <para>True if the destination was requested successfully, otherwise false.</para>
 /// </returns>
 public bool SetDestination(Vector3 target)
 {
     return(NavMeshAgent.INTERNAL_CALL_SetDestination(this, ref target));
 }