> For the complete documentation index, see [llms.txt](https://yigu-studio.gitbook.io/bannerlord-modding-cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yigu-studio.gitbook.io/bannerlord-modding-cn/_csharp-api/mountandblade/missionbehaviour/missionview.md).

# MissionView

Mission Views are a type of [MissionBehaviour](/bannerlord-modding-cn/_csharp-api/mountandblade/missionbehaviour.md) that are usually intended for the client and generally involve interacting with UI elements.

An example of this is the `MissionMainAgentController` MissionView, which handles anything from movement for the player (via inputs) to checking if the player is requesting to spawn as a bot.

Note that `MissionMainAgentController` has the `DefaultView` attribute applied to it. This means that it will be loaded automatically for Missions that enable loading default views with the `AddDefaultMissionBehavioursTo()` method.
