-
Notifications
You must be signed in to change notification settings - Fork 0
Customizing The System
IsaacMulcahy edited this page Aug 14, 2022
·
12 revisions
The animation controller is used to animate the NPC within the scene.
- Moving : Boolean
- Dynamic : Boolean
- AIController - animator.SetBool("Moving", moving);
- AIController - animator.SetBool("Dynamic", dynamic);
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.
- getTime() : return float;
- 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
The Item system is used to allow the project to identify objects within the scene. This uses currently ITEMS (An enum for names) as well as the Item class
- IsInUse : Boolean
- SetInUse(bool update) : Boolean
- ItemNeeded
- ItemOutput
- currentGoalObj
- getGoalItem()
- setGoalItem()
- Locate()
- LocateOwned()
- LocateRandomOwned()
- LocateItemInZone()
- PickUp()
- Mount()
- GetWorkplaceObjects()
- GetItems()
- RequirementGeneral
- RequirementGeneral
- Action()
- Item Needed
- Item Output
Bugs and Features can be requested at the following link
We love to hear your thoughts on the product good or bad, please feel free to submit it on the Unity Asset Store and here
Discord to get the latest news and quicker help