C# Class Epigene.GAME.DialogManager

Dialog manager class to manage the dialog play via triggers. It generally maanges game independant management task like loading a Story. A dialog is hierarchically : Story : Is a text file, in which a dialog junk is defined movie script : the sructure is act, sequence, scene with location(IN or OUT) and action and/or dialogue epigene : screen, dialogue -- phenome part of epigene : A different location changes the scene reference: finaldraft In epigene a screen, e.g. Simulation.cs, handles a bunch of dialogs, which are defined in dialogs/JSON files. An epigene dialog is comparable in a movie script with a junk of "character" "dialogue" sequences of a scene.
Datei anzeigen Open project: fi-content2-games-platform/FIcontent.Gaming.Enabler.phenomobilecharactermanager

Public Methods

Method Description
EventHandler ( string eventId, string param ) : void

Function to check new events.

HUD ( string eventId, string param ) : void
LoadStory ( string name, Epigene.VIEW.DialogView pa = null ) : void
LoadStory ( string name, string dialogId, Epigene.VIEW.DialogView pa = null ) : void
LoadStoryNextInit ( string name, Epigene.VIEW.DialogView pa = null ) : void
RemoveAll ( ) : void

Private Methods

Method Description
DialogManager ( ) : UnityEngine

ctor

Restart ( ) : void

Method Details

EventHandler() public method

Function to check new events.
public EventHandler ( string eventId, string param ) : void
eventId string
param string
return void

HUD() public method

public HUD ( string eventId, string param ) : void
eventId string
param string
return void

LoadStory() public method

public LoadStory ( string name, Epigene.VIEW.DialogView pa = null ) : void
name string
pa Epigene.VIEW.DialogView
return void

LoadStory() public method

public LoadStory ( string name, string dialogId, Epigene.VIEW.DialogView pa = null ) : void
name string
dialogId string
pa Epigene.VIEW.DialogView
return void

LoadStoryNextInit() public method

public LoadStoryNextInit ( string name, Epigene.VIEW.DialogView pa = null ) : void
name string
pa Epigene.VIEW.DialogView
return void

RemoveAll() public method

public RemoveAll ( ) : void
return void