![]() |
Adventure Creator
1.78.0
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Member Functions | |
void | CheckRequiredManagerPackage (ManagerPackage requiredManagerPackage) |
void | Initialise () |
void | ClearVariables () |
Static Public Member Functions | |
static void | SetGameEngine (GameObject _gameEngine=null) |
static void | ClearManagerCache () |
static void | TurnOnAC () |
static void | TurnOffAC () |
static void | RestartGame (bool rebuildMenus, int newSceneIndex, bool killActionLists=false) |
Restarts the game, resetting the game to its original state. Save game files and options data will not be affected More... | |
static void | RestartGame (bool rebuildMenus, string newSceneName, bool killActionLists=false) |
Restarts the game, resetting the game to its original state. Save game files and options data will not be affected More... | |
static void | ResetData () |
Protected Member Functions | |
void | Awake () |
Properties | |
static SceneManager | sceneManager [get, set] |
static SettingsManager | settingsManager [get, set] |
static ActionsManager | actionsManager [get, set] |
static VariablesManager | variablesManager [get, set] |
static InventoryManager | inventoryManager [get, set] |
static SpeechManager | speechManager [get, set] |
static CursorManager | cursorManager [get, set] |
static MenuManager | menuManager [get, set] |
static Options | options [get] |
static RuntimeInventory | runtimeInventory [get] |
static RuntimeVariables | runtimeVariables [get] |
static PlayerMenus | playerMenus [get] |
static StateHandler | stateHandler [get] |
static SceneChanger | sceneChanger [get] |
static SaveSystem | saveSystem [get] |
static LevelStorage | levelStorage [get] |
static RuntimeLanguages | runtimeLanguages [get] |
static RuntimeDocuments | runtimeDocuments [get] |
static RuntimeObjectives | runtimeObjectives [get] |
static ActionListAssetManager | actionListAssetManager [get] |
static PlayerSpawner | playerSpawner [get] |
static MenuSystem | menuSystem [get] |
static Dialog | dialog [get] |
static PlayerInput | playerInput [get] |
static PlayerInteraction | playerInteraction [get] |
static PlayerMovement | playerMovement [get] |
static PlayerCursor | playerCursor [get] |
static PlayerQTE | playerQTE [get] |
static SceneSettings | sceneSettings [get] |
static NavigationManager | navigationManager [get] |
static ActionListManager | actionListManager [get] |
static LocalVariables | localVariables [get] |
static MenuPreview | menuPreview [get] |
static EventManager | eventManager [get] |
static KickStarter | kickStarter [get] |
static Music | music [get] |
static Player | player [get, set] |
static MainCamera | mainCamera [get, set] |
static Camera | CameraMain [get, set] |
static Transform | CameraMainTransform [get] |
This component instantiates the PersistentEngine and Player prefabs when the game beings. It also provides static references to each of Adventure Creator's main components. It should be attached to the GameEngine prefab.
|
static |
Clears the internal Manager references. Call this when changing the assigned Managers, so that other Inspectors/Editors get updated to reflect this
void AC.KickStarter.ClearVariables | ( | ) |
Unsets the values of all script variables, so that they can be re-assigned to the correct scene if multiple scenes are open.
|
static |
Clears all 'live' data such as variable, inventory and other room data
|
static |
Restarts the game, resetting the game to its original state. Save game files and options data will not be affected
resetMenus | If True, Menus will be rebuilt based on their original settings in the Menu Manager |
newSceneIndex | The build index number of the scene to switch to |
killActionLists | If True, then all ActionLists currently running will be killed |
|
static |
Restarts the game, resetting the game to its original state. Save game files and options data will not be affected
resetMenus | If True, Menus will be rebuilt based on their original settings in the Menu Manager |
newSceneName | The name of the scene to switch to |
killActionLists | If True, then all ActionLists currently running will be killed |
|
static |
Turns Adventure Creator on.
|
static |
Turns Adventure Creator off.
|
staticgetset |
A cache of Unity's own Camera.main