Show / Hide Table of Contents

Class UIRoot

The UI root. All UI elements are attached to it either directly or through descendants.

Inheritance
System.Object
UIRoot
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public static class UIRoot : object

Methods

AddComponent(UIComponent)

Add a UIComponent to the UIRoot.

Declaration
public static void AddComponent(UIComponent comp)
Parameters
Type Name Description
UIComponent comp

The component to add

HasComponent(UIComponent)

Determine whether the the UI has a child component comp

Declaration
public static void HasComponent(UIComponent comp)
Parameters
Type Name Description
UIComponent comp

The component to check

RemoveComponent(UIComponent)

Remove a UIComponent from the UIRoot.

Declaration
public static void RemoveComponent(UIComponent comp)
Parameters
Type Name Description
UIComponent comp

The component to remove

SetCursor(Texture)

Set the cursor texture.

Declaration
public static void SetCursor(Texture tex)
Parameters
Type Name Description
Texture tex

The Texture to set the cursor to

Back to top © 2020 Anarkis Gaming. All rights reserved. Generated by DocFX