Merge branch 'IconOverhaul' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-IconOverhaul
This commit is contained in:
@@ -44,6 +44,28 @@ namespace FlaxEditor.Content
|
||||
Editor.Instance.ContentImporting.Create(new SettingsCreateEntry(outputPath));
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override AssetItem ConstructItem(string path, string typeName, ref Guid id)
|
||||
{
|
||||
switch (typeName.Substring(typeName.LastIndexOf('.')+1))
|
||||
{
|
||||
case "GameSettings": return new GameSettingsItem(path, id, typeName);
|
||||
case "AndroidPlatformSettings": return new AndroidPlatformSettingsItem(path, id, typeName);
|
||||
case "AudioSettings": return new AudioSettingsItem(path, id, typeName);
|
||||
case "BuildSettings": return new BuildSettingsItem(path, id, typeName);
|
||||
case "GraphicsSettings": return new GraphicsSettingsItem(path, id, typeName);
|
||||
case "InputSettings": return new InputSettingsItem(path, id, typeName);
|
||||
case "LayersAndTagsSettings": return new LayersAndTagsSettingsItem(path, id, typeName);
|
||||
case "LinuxPlatformSettings": return new LinuxPlatformSettingsItem(path, id, typeName);
|
||||
case "NavigationSettings": return new NavigationSettingsItem(path, id, typeName);
|
||||
case "PhysicsSettings": return new PhysicsSettingsItem(path, id, typeName);
|
||||
case "TimeSettings": return new TimeSettingsItem(path, id, typeName);
|
||||
case "UWPPlatformSettings": return new UWPPlatformSettingsItem(path, id, typeName);
|
||||
case "WindowsPlatformSettings": return new WindowsPlatformSettingsItem(path, id, typeName);
|
||||
}
|
||||
return base.ConstructItem(path, typeName, ref id);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override bool IsProxyFor<T>()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user