Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.DataManagement.AssetPropertiesSystem.NewPropertyWindow Class Reference

Detailed Description

Window that provides UI and API for handling editor-site properties creation process.

Inheritance diagram for Doloro.DataManagement.AssetPropertiesSystem.NewPropertyWindow:
Collaboration diagram for Doloro.DataManagement.AssetPropertiesSystem.NewPropertyWindow:

Static Public Member Functions

static EditorWindow Init (UnityEngine.Vector2 mousePosition, Func< AssetProperty, string > handler)
 Initializes the drop down window near to the button. More...
 
static EditorWindow Init (UnityEngine.Vector2 mousePosition, Func< AssetProperty, string > handler, string prepath)
 Initializes the drop down window near to the button. More...
 

Properties

static NewPropertyWindow Active [get]
 Reference to the current active window.
 
static Vector2 Size [get, set]
 Size of the window.
 
System.Func< AssetProperty, string > PropertyHandler [get]
 Editor binded to the window. Returns error message in case of fail. Null or empty in case of success.
 
bool DomainEditLocked [get]
 Is domain edit allowed or not.
 
string Domain [get, set]
 Property's domain.
 
string PropertyName = "New property" [get, set]
 Property name.
 
string ReceivedErrorMessage [get]
 Error message received during internal actions.
 
Type SelectedType [get, set]
 Type selected for the new property.
 

Member Function Documentation

◆ Init() [1/2]

static EditorWindow Doloro.DataManagement.AssetPropertiesSystem.NewPropertyWindow.Init ( UnityEngine.Vector2  mousePosition,
Func< AssetProperty, string >  handler 
)
static

Initializes the drop down window near to the button.

Parameters
mousePosition
handlerHandler that will receive created property. Returns error message in case of fail. Null or empty in case of success.
Returns
Created window.

◆ Init() [2/2]

static EditorWindow Doloro.DataManagement.AssetPropertiesSystem.NewPropertyWindow.Init ( UnityEngine.Vector2  mousePosition,
Func< AssetProperty, string >  handler,
string  prepath 
)
static

Initializes the drop down window near to the button.

Parameters
mousePosition
handlerHandler that will receive created property. Returns error message in case of fail. Null or empty in case of success.
prepathPre-path of property domain.
Returns
Created window.

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