Version: 2021.2
言語: 日本語

VersionControlAttribute

class in UnityEditor.VersionControl

マニュアルに切り替える

説明

Allows you to mark a class as a version control system object.

This attribute enables Unity to detect custom VCS implementations. Your VCS object must also derive from VersionControlObject.

using UnityEditor.VersionControl;

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

VCS object name must be unique within Unity project.

See Also: VersionControlObject, VersionControlManager, VersionControlDescriptor.

変数

displayNameVersion control system display name.
nameVersion control system name.

コンストラクタ

VersionControlAttributeConstructs VersionControlAttribute.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961