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 { }
Additional resources: VersionControlAttribute, VersionControlObject, VersionControlManager, VersionControlDescriptor.