User Interface#

Provides functionality for drawing and interacting with in-game user interface elements: messages, panels, buttons, text and input fields.

Example#

The following example shows a message at the top of the screen for 10 seconds:

using KRPC.Client;
using KRPC.Client.Services.UI;

class UIExample
{
    public static void Main ()
    {
        using (var connection = new Connection ("User Interface Example")) {
            connection.UI ().Message ("Hello, World!", duration: 10);
        }
    }
}