internal PlanRequest(PlanWrapper <TStateKey, TActionKey, TStateManager, TStateData, TStateDataContext> plan, PlannerSettings settings = null, Action <IPlan> planRequestCompleteCallback = null) { m_Plan = plan; m_PlannerSettings = settings ?? new PlannerSettings(); m_OnPlanRequestComplete = planRequestCompleteCallback; }
/// <inheritdoc cref="IPlanRequest"/> public IPlanRequest WithSettings(PlannerSettings settings) { CheckAndThrowIfDisposed(); this.m_PlannerSettings = settings; return(this); }