기술 자료

Unity Engine

Unity Engine

VersionControlAttribute

Allows you to mark a class as a version control system object.
읽는 시간 3분최근 업데이트: 한 달 전

Definition

[AttributeUsage(AttributeTargets.Class)]public class VersionControlAttribute : Attribute

Remarks

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 VersionControlAttribute.name must be unique within Unity project.

Constructors

Constructor

Description

VersionControlAttribute(System.String,System.String)Constructs VersionControlAttribute.

Properties

Property

Description

displayNameVersion control system display name.
nameVersion control system name.

Inheritance

Inherited Members