Add automatic Game Settings setup after adding new settings asset for the first time

This commit is contained in:
Wojtek Figat
2021-07-05 10:36:10 +02:00
parent a9acf733d9
commit 347bd7346a
3 changed files with 137 additions and 79 deletions

View File

@@ -23,6 +23,11 @@ namespace FlaxEditor.Windows.Assets
private object _object;
private bool _isRegisteredForScriptsReload;
/// <summary>
/// Gets the instance of the Json asset object that is being edited.
/// </summary>
public object Instance => _object;
/// <inheritdoc />
public JsonAssetWindow(Editor editor, AssetItem item)
: base(editor, item)