Photon Fusion
2.1.1
Specifies that a method should be displayed as a button in the Unity editor. More...
Public Member Functions | |
| EditorButtonAttribute (EditorButtonVisibility visibility=EditorButtonVisibility.Always, int priority=0, bool dirtyObject=false) | |
| Initializes a new instance of the EditorButtonAttribute class with the specified visibility, priority, and dirty object flag. | |
| EditorButtonAttribute (string label, EditorButtonVisibility visibility=EditorButtonVisibility.Always, int priority=0, bool dirtyObject=false) | |
| Initializes a new instance of the EditorButtonAttribute class with the specified label, visibility, priority, and dirty object flag. | |
Public Attributes | |
| bool | AllowMultipleTargets |
| Determines whether multiple targets are supported. | |
| bool | DirtyObject |
| Determines whether the object should be marked as dirty after clicking the button. | |
| string | Label |
| The label text to display on the button. | |
| int | Priority |
| The priority of the button. Buttons with higher priority are displayed first. | |
| EditorButtonVisibility | Visibility |
| The visibility of the button in the Unity editor. | |
Specifies that a method should be displayed as a button in the Unity editor.
| EditorButtonAttribute | ( | string | label, |
| EditorButtonVisibility | visibility = EditorButtonVisibility::Always, | ||
| int | priority = 0, | ||
| bool | dirtyObject = false ) |
Initializes a new instance of the EditorButtonAttribute class with the specified label, visibility, priority, and dirty object flag.
| label | The label text to display on the button. |
| visibility | The visibility of the button in the Unity editor. |
| priority | The priority of the button. Buttons with higher priority are displayed first. |
| dirtyObject | Determines whether the object should be marked as dirty after clicking the button. |
| EditorButtonAttribute | ( | EditorButtonVisibility | visibility = EditorButtonVisibility::Always, |
| int | priority = 0, | ||
| bool | dirtyObject = false ) |
Initializes a new instance of the EditorButtonAttribute class with the specified visibility, priority, and dirty object flag.
| visibility | The visibility of the button in the Unity editor. |
| priority | The priority of the button. Buttons with higher priority are displayed first. |
| dirtyObject | Determines whether the object should be marked as dirty after clicking the button. |