INTERNAL_CALL_Warp() private method

private INTERNAL_CALL_Warp ( NavMeshAgent self, Vector3 &newPosition ) : bool
self NavMeshAgent
newPosition Vector3
return bool
コード例 #1
0
 /// <summary>
 ///   <para>Warps agent to the provided position.</para>
 /// </summary>
 /// <param name="newPosition">New position to warp the agent to.</param>
 /// <returns>
 ///   <para>True if agent is successfully warped, otherwise false.</para>
 /// </returns>
 public bool Warp(Vector3 newPosition)
 {
     return(NavMeshAgent.INTERNAL_CALL_Warp(this, ref newPosition));
 }