C# Class Epigene.MainGame

Start the game. Add each screens to the UIManager and set the first one to active. Each screen have to manage their own logic. This class is only a start point for the game and does only the basic initialization. It stays also by restarting a game. Restarting a Game is nothing else than switching Again to the start screen and before that reset all the a game specific values. See further reading Use this for logics which is not specific for any screen like log levels or language for the whole game. You can always alter from these in every screen The Layer semantic in TWISTBueBe : starting with "User Layer 8 HUD" HUD : All elements of head up display Player : All elements representing the Player itself in the game , which is the scoreBar for example NPC : All NPC visuals Video : IntroMovie Dialog : Dialog Layer Navigation : Map : simulation Map of the city we take care of Intro : Screen Layer definition all CityHallOffice : CoordLady office Wall : vor Popup : TimeLineCP : Civiv Participitation TimeLineSim : Simulation ArtistCommunity : HotSpot Dialog Place 1 GrandPaFlat : HotSpot Dialog Place 2 CityHall : HotSpots : In the map we have HotSpots DadFlat : HotSpot Dialog Place 3 ScoreResult :
Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: fi-content2-games-platform/FIcontent.Gaming.Enabler.phenomobilecharactermanager

Public Properties

Property Type Description
audioResources string
camera2D UnityEngine.Camera
configResources string
debug bool
hidTouch bool
hudPrefabs string
language Languages
localizatoinDB string
logLevel Log.LogLevel
modelPrefabs string
muteSfx bool
muteSoundBackground bool
offline bool
popupPrefabs string
standaloneBeta bool
standaloneSingleLevel bool
startAchievements bool
startScreenName string
tooltip Epigene.UI.UITooltip
useDBModule bool
userParameters string

Protected Properties

Property Type Description
am Epigene.AUDIO.AudioManager
gm Epigene.GAME.GameManager
i18n Epigene.UI.I18nManager
screen Epigene.UI.UIScreen
ui Epigene.UI.UIManager

Public Methods

Method Description
Awake ( ) : void
CreateGameObject ( string path ) : GameObject

Helper to create a gameobject from a prefab.

Enter ( ) : void

TODO make them abstract later

Exit ( ) : void
GetUniqueIdentifier ( ) : string
GetValue ( string key ) : string
HasKey ( string key ) : bool
OnDisable ( ) : void
OnEnable ( ) : void
SetRequestParameters ( string parametersString ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
LoadAppConfigurationXml ( ) : void
ProcessConfig ( string eventId, string data ) : void
ProcessIPConfiged ( string eventId, string data ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

CreateGameObject() public static method

Helper to create a gameobject from a prefab.
public static CreateGameObject ( string path ) : GameObject
path string
return UnityEngine.GameObject

Enter() public method

TODO make them abstract later
public Enter ( ) : void
return void

Exit() public method

public Exit ( ) : void
return void

GetUniqueIdentifier() public static method

public static GetUniqueIdentifier ( ) : string
return string

GetValue() public method

public GetValue ( string key ) : string
key string
return string

HasKey() public method

public HasKey ( string key ) : bool
key string
return bool

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

SetRequestParameters() public method

public SetRequestParameters ( string parametersString ) : void
parametersString string
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

am protected_oe property

protected AudioManager,Epigene.AUDIO am
return Epigene.AUDIO.AudioManager

audioResources public_oe static_oe property

public static string audioResources
return string

camera2D public_oe property

public Camera,UnityEngine camera2D
return UnityEngine.Camera

configResources public_oe static_oe property

public static string configResources
return string

debug public_oe property

public bool debug
return bool

gm protected_oe property

protected GameManager,Epigene.GAME gm
return Epigene.GAME.GameManager

hidTouch public_oe property

if device has HID driver or not
public bool hidTouch
return bool

hudPrefabs public_oe static_oe property

public static string hudPrefabs
return string

i18n protected_oe property

protected I18nManager,Epigene.UI i18n
return Epigene.UI.I18nManager

language public_oe property

public Languages language
return Languages

localizatoinDB public_oe static_oe property

public static string localizatoinDB
return string

logLevel public_oe property

public Log.LogLevel logLevel
return Log.LogLevel

modelPrefabs public_oe static_oe property

public static string modelPrefabs
return string

muteSfx public_oe property

Muse music or sound for start
public bool muteSfx
return bool

muteSoundBackground public_oe property

public bool muteSoundBackground
return bool

offline public_oe property

public bool offline
return bool

popupPrefabs public_oe static_oe property

public static string popupPrefabs
return string

screen protected_oe property

protected UIScreen,Epigene.UI screen
return Epigene.UI.UIScreen

standaloneBeta public_oe property

public bool standaloneBeta
return bool

standaloneSingleLevel public_oe property

public bool standaloneSingleLevel
return bool

startAchievements public_oe property

public bool startAchievements
return bool

startScreenName public_oe property

public string startScreenName
return string

tooltip public_oe property

public UITooltip,Epigene.UI tooltip
return Epigene.UI.UITooltip

ui protected_oe property

protected UIManager,Epigene.UI ui
return Epigene.UI.UIManager

useDBModule public_oe property

public bool useDBModule
return bool

userParameters public_oe property

public string userParameters
return string