文档

Unity Engine

Unity Engine

targetType

The dictionary type this attribute configures. Must be a fully specified Dictionary, for example Dictionary.
阅读时间1 分钟最后更新于 5 天前

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 dictionary's key type or value type must use a type defined in the attribute's assembly, either directly or as an array element type or a generic type argument.