From 9cba97804c97c0bfff49eb35f868ab6b6d3d7e6d Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Sun, 24 Sep 2023 15:16:13 -0700 Subject: [PATCH] Typo fix --- src/en/robust-toolbox/user-interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/robust-toolbox/user-interface.md b/src/en/robust-toolbox/user-interface.md index 93d67c8da..535237da0 100644 --- a/src/en/robust-toolbox/user-interface.md +++ b/src/en/robust-toolbox/user-interface.md @@ -404,7 +404,7 @@ The XAML code is automatically compiled to IL so it can be efficiently construct ``` ## UI Controllers -UI controllers are reponsible for creating, updating and removing controls. Entity systems must not do this themselves. +UI controllers are responsible for creating, updating and removing controls. Entity systems must not do this themselves. Any data that they use must be obtained by binding their methods to system events (see example below) or by calling methods on IoC services, such as IPlayerManager. To create one, make a new class that inherits `UIController`. This type will then be instantiated automatically as a singleton by the `UserInterfaceManager`. Widgets are retrieved within UI controllers by calling `UIManager.GetActiveUIWidgetOrNull()`, where T is a widget such as `ActionsBar`.