言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

CustomPropertyDrawer

Namespace: UnityEditor

Description

カスタム PropertyDrawer または DecoratorDrawer に対して、その Drawer がどの実行時 Serializable クラスまたは PropertyAttribute のものであるかを示します。

カスタム PropertyDrawer または DecoratorDrawer を作成するとき、この属性を Drawer クラスにつける必要があります。 もし Drawer が Serializable クラスのものである場合、クラスの型を CustomPropertyDrawer に渡します(PropertyDrawerのみで、DecoratorDrawerは適用されません)。 もし Drawer が PropertyAttribute のものである場合、PropertyAttribute の型を CustomPropertyDrawer に渡します。 See Also: PropertyDrawer クラス, DecoratorDrawer クラス.

Constructors

CustomPropertyDrawer PropertyDrawer クラスがどのランタイム クラスまたは属性に対する Drawer であるか指定します