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.