Skip to content

Customizing The System

IsaacMulcahy edited this page Aug 13, 2022 · 12 revisions

Animator

Game Manager / Timing

The Game Manager is a simple service which is used for the time of day and the passage of time. The time is 0-2400 and has to stay with this range to keep in in keeping with the requirements set in the Flowchart Editor.

To replace

Required Functions

  • getTime() : return float;

References

  • AIDataboard has a static reference to the GameManager - Set by search in Awake()
  • Civil Manager has a Reference which is used on AIDataBoard.setupCharacter() function Editor
  • AIManager loads one from Resources when using Auto Setup scene (System/Objects/Game Manager)
  • TimeWindow has a static reference to the gameManager