Version: 2021.2
言語: 日本語
public string displayName ;

説明

Version control system display name.

Can be localized. Used in UI.

using UnityEditor.VersionControl;
using UnityEngine;

public class CustomVersionControlAttribute : VersionControlAttribute { static string GetDisplayName() { return $"Custom ({Application.systemLanguage})"; }

public CustomVersionControlAttribute() : base("Custom", GetDisplayName()) { } }

[CustomVersionControl] public class CustomVersionControlObject : VersionControlObject { }