기술 자료

Unity Engine

Unity Engine

CreatePropertyAttribute

Use this attribute to have a property generated for the member.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Class
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]public class CreatePropertyAttribute : RequiredMemberAttribute

Remarks

By default public fields will have properties generated.

Properties

Property

Description

ReadOnlyIndicates if the property should generate a setter.