Version: 2021.3

VersionControlAttributeConstructor

切换到手册
public VersionControlAttribute (string name, string displayName);

参数

name Version control system name.
displayName Version control system display name.

描述

Constructs VersionControlAttribute.

Display name is optional. Regular name will be used if not specified.

using UnityEditor.VersionControl;

[VersionControl("Custom", "Custom VCS")] public class CustomVersionControlObject : VersionControlObject { }