Beamable SDK
Classes | Public Member Functions | Public Attributes | List of all members
Beamable.Editor.Assistant.BeamHintVisualsInjectionBag Class Reference

A clear definition of all supported injection types. An instance of this is passed into every BeamHintDetailConverterAttribute function. It exposes clear helper functions such as SetLabel and SetButtonClicked to ensure the internal Injection<T> data is being configured correctly. More...

Classes

class  DynamicVisualElementIterator
 
struct  Injection
 
class  ParameterlessActionIterator
 
class  TextIterator
 

Public Member Functions

void SetButtonLabel (string buttonLabel, string name, params string[] classes)
 
void SetButtonClicked (Action buttonAction, string name, params string[] classes)
 
void SetLabel (string buttonLabel, string name, params string[] classes)
 
void SetLabelClicked (Action buttonAction, string name, params string[] classes)
 
void AddAsChild (VisualElement element, string containerName, params string[] containerClasses)
 

Public Attributes

readonly IEnumerable< Injection< string > > TextInjections
 
readonly IEnumerable< Injection< Action > > ParameterlessActionInjections
 
readonly IEnumerable< Injection< VisualElement > > DynamicVisualElementInjections
 

Detailed Description

A clear definition of all supported injection types. An instance of this is passed into every BeamHintDetailConverterAttribute function.

It exposes clear helper functions such as SetLabel and SetButtonClicked to ensure the internal Injection<T> data is being configured correctly.


The documentation for this class was generated from the following file: