public bool SetPath(AStarPath path)
        {
            // True if the path is succesfully assigned.
            return(false);

            /*
             * Assign a new path to this agent.
             *
             * If the path is succesfully assigned the agent will resume movement toward the new target.
             * If the path cannot be assigned the path will be cleared (see ResetPath).
             *
             * */
        }
 /*Calculate a path to a specified point and store the resulting path.
  *
  * This function can be used to plan a path ahead of time to avoid a delay in gameplay when the path is needed.
  * Another use is to check if a target position is reachable before moving the agent.
  */
 public bool CalculatePath(Vector3 targetPosition, AStarPath path)
 {
     // returns true if a path is found
     return(false);
 }