Beamable SDK
|
Scriptable object that gets loaded from CoreConfiguration.BeamableAssistantToolbarButtonsPathss when the BeamableToolbarExtender initializes or one of these is re-imported. More...
Public Types | |
enum | Side { Left , Right } |
Public Member Functions | |
abstract void | OnButtonClicked (BeamEditorContext editorAPI) |
virtual bool | ShouldDisplayButton (BeamEditorContext editorAPI) |
virtual Side | GetButtonSide (BeamEditorContext editorAPI) |
virtual int | GetButtonOrder (BeamEditorContext editorAPI) |
virtual string | GetButtonText (BeamEditorContext editorAPI) |
virtual Vector2 | GetButtonSize (BeamEditorContext editorAPI) |
virtual Texture | GetButtonTexture (BeamEditorContext editorAPI) |
virtual GenericMenu | GetDropdownOptions (BeamEditorContext editorAPI) |
Override when you want to make a dropdown menu. More... | |
Scriptable object that gets loaded from CoreConfiguration.BeamableAssistantToolbarButtonsPathss when the BeamableToolbarExtender initializes or one of these is re-imported.
These can be used to add buttons to Unity's play-mode toolbar, either to the left or right of them (see BeamableToolbarExtender).
|
virtual |
Override when you want to make a dropdown menu.
editorAPI | The current initialized BeamEditorContext instance. |
Reimplemented in Beamable.Editor.ToolbarExtender.SampleBeamableButton.