|
void | CreateFlowStartNodes (MENode startNode, Transform parent, int colorIndex=-1) |
|
void | CreateFlowUIBlock (IMEFlowBlock start, Transform parent, int colorIndex=-1) |
|
void | CreateMissionFlowUI_Button (Mission mission, MEFlowUINode.ButtonAction buttonAction=MEFlowUINode.ButtonAction.None, Callback< PointerEventData > buttonCallback=null, bool showEvents=false, bool showNonObjectives=false, bool showStartNodes=false) |
|
void | CreateMissionFlowUI_Toggle (Mission mission, Callback< MEFlowUINode > toggleCallback, ToggleGroup toggleGroup, bool showEvents=false, bool showNonObjectives=false, bool showStartNodes=false) |
|
void | UpdateFlowUIItems () |
| Tell the parser to update the UI for its current mission ref More...
|
|
void | UpdateFlowUIItems (IMEFlowBlock start) |
| Tell the parser to update the UI for the passed block More...
|
|
static MEFlowParser Expansions.Missions.Flow.MEFlowParser.Create |
( |
Transform |
parent, |
|
|
Transform |
flowObjectsParent, |
|
|
TMP_Text |
emptyObjectivesMessage |
|
) |
| |
|
inlinestatic |
Instantiates an Instance of MEFlowParser and sets it's parent Transform
- Parameters
-
parent | The parent transform to attach the instance to |
flowObjectsParent | The transform to attach MEFLow Objects to |
emptyObjectivesMessage | The object to display if there are no objectives in the flow - pass Null to not use this |
- Returns
- The MEFlowParser instance
static MEFlowParser Expansions.Missions.Flow.MEFlowParser.Create |
( |
Transform |
parent, |
|
|
Transform |
flowObjectsParent, |
|
|
TMP_Text |
emptyObjectivesMessage, |
|
|
Color[] |
groupColors |
|
) |
| |
|
inlinestatic |
Instantiates an Instance of MEFlowParser and sets it's parent Transform
- Parameters
-
parent | The parent transform to attach the instance to |
flowObjectsParent | The transform to attach MEFLow Objects to |
emptyObjectivesMessage | The object to display if there are no objectives in teh flow |
groupColors | Optional list of colors for the groups (if null uses presets) |
- Returns
- The MEFlowParser instance
void Expansions.Missions.Flow.MEFlowParser.CreateFlowStartNodes |
( |
MENode |
startNode, |
|
|
Transform |
parent, |
|
|
int |
colorIndex = -1 |
|
) |
| |
|
inline |
- Parameters
-
startNode | |
parent | |
colorIndex | |
buttonAction | |
buttonCallback | |
void Expansions.Missions.Flow.MEFlowParser.CreateFlowUIBlock |
( |
IMEFlowBlock |
start, |
|
|
Transform |
parent, |
|
|
int |
colorIndex = -1 |
|
) |
| |
|
inline |
void Expansions.Missions.Flow.MEFlowParser.CreateMissionFlowUI_Toggle |
( |
Mission |
mission, |
|
|
Callback< MEFlowUINode > |
toggleCallback, |
|
|
ToggleGroup |
toggleGroup, |
|
|
bool |
showEvents = false , |
|
|
bool |
showNonObjectives = false , |
|
|
bool |
showStartNodes = false |
|
) |
| |
|
inline |
Convert a Mission object into an MEFLowBlock which can then be used for rendering visuals
- Parameters
-
mission | The mission to parse |
- Returns
- MEFlowBlock representation of the mission
void Expansions.Missions.Flow.MEFlowParser.UpdateFlowUIItems |
( |
| ) |
|
|
inline |
Tell the parser to update the UI for its current mission ref
void Expansions.Missions.Flow.MEFlowParser.UpdateFlowUIItems |
( |
IMEFlowBlock |
start | ) |
|
|
inline |
Tell the parser to update the UI for the passed block
- Parameters
-
start | The block to update the elements in |
Color [] Expansions.Missions.Flow.MEFlowParser.GroupColors |
bool Expansions.Missions.Flow.MEFlowParser.showEvents = false |
True to show event objectives or things behind them
bool Expansions.Missions.Flow.MEFlowParser.showNonObjectives = false |
Should the parser show all nodes regardless of objective flags, etc
The documentation for this class was generated from the following file: