お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Namespace: UnityEditor
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closeカスタム PropertyDrawer または DecoratorDrawer に対して、その Drawer がどの実行時 Serializable クラスまたは PropertyAttribute のものであるかを示します。
カスタム PropertyDrawer または DecoratorDrawer を作成するとき、この属性を Drawer クラスにつける必要があります。 もし Drawer が Serializable クラスのものである場合、クラスの型を CustomPropertyDrawer に渡します(PropertyDrawerのみで、DecoratorDrawerは適用されません)。 もし Drawer が PropertyAttribute のものである場合、PropertyAttribute の型を CustomPropertyDrawer に渡します。 See Also: PropertyDrawer クラス, DecoratorDrawer クラス.
CustomPropertyDrawer | PropertyDrawer クラスがどのランタイム クラスまたは属性に対する Drawer であるか指定します |