Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.UI.Controls.StorageGUIElement Class Reference

Detailed Description

GUI element controller that bonds StoragesDatabase entry and UI.

Inheritance diagram for Doloro.InvetorySystem.UI.Controls.StorageGUIElement:
Collaboration diagram for Doloro.InvetorySystem.UI.Controls.StorageGUIElement:

Public Member Functions

override void DropGUIContent ()
 Drops current info visualization. More...
 
override void ApplyGUIContent ()
 Loads content provided with not null AContentInspectorGUIElement<Storage>.content> property.
 
override void UpdateGUI ()
 Updates bonded GUI elements along with content. More...
 

Protected Member Functions

void ReloadedGUIProperties ()
 Drops current collection of extension and looking for relevant list.
 

Protected Attributes

UnityEngine.UI.InputField titleField
 
UnityEngine.UI.InputField descriptionField
 
UnityEngine.UI.Text ownerLabel
 

Properties

virtual UnityEngine.UI.InputField TitleField [get, set]
 Label for storage's title display.
 
virtual UnityEngine.UI.InputField DescriptionField [get, set]
 Label for storage's description display.
 
virtual UnityEngine.UI.Text OwnerLabel [get, set]
 Label for storage's owner's name display.
 
GUIExtensionType[] extension [get]
 GUI properties connected to inspector. More...
 

Member Function Documentation

◆ DropGUIContent()

override void Doloro.InvetorySystem.UI.Controls.StorageGUIElement.DropGUIContent ( )

Drops current info visualization.

The AContentInspectorGUIElement<Item>.content> property will not be affected.

◆ UpdateGUI()

override void Doloro.UIEngine2.Controls.AExtandableInspectorGUIElement< ContentType, GUIExtensionType >.UpdateGUI ( )
inherited

Updates bonded GUI elements along with content.

Calls DropGUIContent in case if content is null. Calls ApplyGUIContent otherwise. Calls the same handler for connected AContentInspectorExtension<T> instances.

Property Documentation

◆ extension

GUIExtensionType [] Doloro.UIEngine2.Controls.AExtandableInspectorGUIElement< ContentType, GUIExtensionType >.extension
getinherited

GUI properties connected to inspector.

See also
ReloadedGUIProperties

The documentation for this class was generated from the following file: