Fix missing selection type in CustomEditorPresenter
This commit is contained in:
@@ -43,7 +43,7 @@ namespace FlaxEditor.CustomEditors
|
||||
/// <summary>
|
||||
/// Gets the values type.
|
||||
/// </summary>
|
||||
public ScriptType Type { get; }
|
||||
public ScriptType Type { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether single object is selected.
|
||||
@@ -284,6 +284,15 @@ namespace FlaxEditor.CustomEditors
|
||||
Type = type;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the type. Use with caution.
|
||||
/// </summary>
|
||||
/// <param name="type">The type.</param>
|
||||
public void SetType(ScriptType type)
|
||||
{
|
||||
Type = type;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the custom attributes defined for the values source member.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user