VersionControlAttribute(string, string)
Constructs VersionControlAttribute.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor.VersionControl
- Assembly: UnityEditor.CoreModule
public VersionControlAttribute(string name, string displayName = null)
Parameters
Remarks
Display name is optional. Regular name will be used if not specified.
using UnityEditor.VersionControl;[VersionControl("Custom", "Custom VCS")]public class CustomVersionControlObject : VersionControlObject{}
Additional Resources: VersionControlAttribute, VersionControlObject, VersionControlManager, VersionControlDescriptor.