Standardizes the Level Assets to just use the regular asset description field for it's description

Updated existing level asset definitions to comply
This commit is contained in:
Areloch 2019-10-05 01:55:52 -05:00
parent 782ab7b73a
commit 248f1da1c5
2 changed files with 3 additions and 2 deletions

View file

@ -4,5 +4,5 @@
AssetName="ExampleLevel"
LevelFile="ExampleLevel.mis"
LevelName="Example Level"
LevelDescription="An example level asset"
Description="An example level asset"
VersionId="1" />

View file

@ -114,8 +114,9 @@ function AssetBrowser::setupCreateNewAsset(%this, %assetType, %moduleName, %call
else if(%assetType $= "LevelAsset")
{
NewAssetPropertiesInspector.startGroup("Level");
NewAssetPropertiesInspector.addField("levelName", "Level Name", "String", "Human-readable name of new level", "", "", %this.newAssetSettings);
NewAssetPropertiesInspector.addField("LevelName", "Level Name", "String", "Human-readable name of new level", "", "", %this.newAssetSettings);
NewAssetPropertiesInspector.addField("levelPreviewImage", "Level Preview Image", "Image", "Preview Image for the level", "", "", %this.newAssetSettings);
NewAssetPropertiesInspector.endGroup();
}
else if(%assetType $= "ScriptAsset")