Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IProperty

Base interface for working with properties.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Interface
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
public interface IProperty

Remarks

This is used to pass or store properties without knowing the underlying container or value type. " IProperty<TContainer> " Property<TContainer, TValue>

Properties

Property

Description

IsReadOnlyGets a value indicating whether the property is read-only or not.
NameGets the name of the property.

Methods

Method

Description

DeclaredValueTypeReturns the declared value type of the property.
GetAttributeReturns the first attribute of the given type.
GetAttributesReturns all attribute for this property.
HasAttributeReturns true if the property has any attributes of the given type.