public bool TryMoveTo(Vector3 p) { return(navAgent.MoveTo(new Vector2(p.x, p.z), new Vector2Int((int)p.x, (int)p.z)) || CanDesant(p)); }