API reference
API reference
Select your platform
No SDKs available
No versions available

InterfaceDrawer Class

Extends PropertyDrawer
This property drawer is the meat of the interface support implementation.
When the value of field with this attribute is modified, the new value is tested against the interface expected. If the component matches, the new value is accepted. Otherwise, the old value is maintained.

Member Functions

override void OnGUI
( Rect position,
SerializedProperty property,
GUIContent label )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon