C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
DialogManager ( ) : UnityEngine

ctor

Restart ( ) : void

Описание методов

EventHandler() публичный Метод

Function to check new events.
public EventHandler ( string eventId, string param ) : void
eventId string
param string
Результат void

HUD() публичный Метод

public HUD ( string eventId, string param ) : void
eventId string
param string
Результат void

LoadStory() публичный Метод

public LoadStory ( string name, Epigene.VIEW.DialogView pa = null ) : void
name string
pa Epigene.VIEW.DialogView
Результат void

LoadStory() публичный Метод

public LoadStory ( string name, string dialogId, Epigene.VIEW.DialogView pa = null ) : void
name string
dialogId string
pa Epigene.VIEW.DialogView
Результат void

LoadStoryNextInit() публичный Метод

public LoadStoryNextInit ( string name, Epigene.VIEW.DialogView pa = null ) : void
name string
pa Epigene.VIEW.DialogView
Результат void

RemoveAll() публичный Метод

public RemoveAll ( ) : void
Результат void