You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
-
- namespace GamecraftModdingAPI.Interface.IMGUI
- {
- /// <summary>
- /// GUI Element like a text field, button or picture.
- /// This interface is used to wrap many elements from Unity's IMGUI system.
- /// </summary>
- public interface UIElement
- {
- /// <summary>
- /// GUI operations to perform in the OnGUI scope.
- /// This is basically equivalent to a MonoBehaviour's OnGUI method.
- /// </summary>
- void OnGUI();
-
- /// <summary>
- /// The element's name.
- /// This should be unique for every instance of the class.
- /// </summary>
- string Name { get; }
-
- /// <summary>
- /// Whether to display the UI element or not.
- /// </summary>
- bool Enabled { get; }
- }
- }
|