[add]Add ShowEditorAlias 添加显示编辑器名字

This commit is contained in:
ZensYue
2022-12-02 12:31:15 +08:00
parent 2696da092d
commit aa49980231
10 changed files with 148 additions and 15 deletions
@@ -5,6 +5,7 @@ namespace YooAsset.Editor
/// <summary>
/// 以文件名为定位地址
/// </summary>
[EditorShow("以文件名为定位地址")]
public class AddressByFileName : IAddressRule
{
string IAddressRule.GetAssetAddress(AddressRuleData data)
@@ -16,6 +17,7 @@ namespace YooAsset.Editor
/// <summary>
/// 以组名+文件名为定位地址
/// </summary>
[EditorShow("以组名+文件名为定位地址")]
public class AddressByGroupAndFileName : IAddressRule
{
string IAddressRule.GetAssetAddress(AddressRuleData data)
@@ -28,6 +30,7 @@ namespace YooAsset.Editor
/// <summary>
/// 以收集器名+文件名为定位地址
/// </summary>
[EditorShow("以收集器名+文件名为定位地址")]
public class AddressByCollectorAndFileName : IAddressRule
{
string IAddressRule.GetAssetAddress(AddressRuleData data)