Version: 2021.3
LanguageEnglish
  • C#

IApplyRevertPropertyContextMenuItemProvider.bool TryGetApplyMethodForFieldName(SerializedProperty, out Action<SerializedProperty>)

Suggest a change

Success!

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

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Extension hook for an optional property apply menu item.

Called as the context menu is being built to retrieve the method to be called (if any) when the user select the 'apply' menu item. The boolean return value defines if a apply menu item is to be shown.