Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


targetType

The dictionary type this attribute configures. Must be a fully specified Dictionary, for example Dictionary.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Type targetType { get; }

Remarks

The attribute applies to every dictionary of this exact type, and sets the layout, labels, and key-column fraction. The attribute's assembly must define the dictionary's key type, its value type, or a type nested inside either.