Fields are not supported by UnityEvents.
Make a property that sets the value of the field and as long as it follows the property requirements for UnityEvents it should appear in the functions list.
Manual Scripting Documentation Editor Utility Functions
UnityEvent Visualiser