Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Member Functions | |
void | ShowGUI (Rect windowRect) |
void | InitialiseObjects (bool createFolders=true) |
Makes the current scene AC-ready, by setting up the MainCamera, instantiating the GameEngine prefab, and optionally creating "folder" objects. More... | |
void | GetPrefabsInScene () |
Static Public Member Functions | |
static GameObject | AddPrefab (string folderName, string prefabName, bool canCreateMultiple, bool selectAfter, bool putInFolder) |
Adds an Adventure Creator prefab to the scene. More... | |
Handles the "Scene" tab of the Game Editor window. It doesn't store any data from the scene itself, only references objects that do. It provides a list of Adventure Creator prefabs that can be created and managed.
|
static |
Adds an Adventure Creator prefab to the scene.
folderName | The name of the subfolder that the prefab lives in, within /Assets/AdventureCreator/Prefabs |
prefabName | The name of the prefab filename, without the '.asset' extension |
canCreateMultiple | If True, then multiple instances of the prefab can exuist within the scene |
selectAfter | If True, the created GameObject will be selected in the Hierarchy window |
putInFolder | If True, then the Scene Manager will attempt to place the created GameObject in an appropriate "folder" object. |
void AC.SceneManager.GetPrefabsInScene | ( | ) |
Populates the list of 'Existing prefabs' for the currently-selected prefab button in the Scene Manager GUI.
void AC.SceneManager.InitialiseObjects | ( | bool | createFolders = true | ) |
Makes the current scene AC-ready, by setting up the MainCamera, instantiating the GameEngine prefab, and optionally creating "folder" objects.
createFolders | If True, then empty GameObjects that acts as folders, to aid organisation, will be created |
void AC.SceneManager.ShowGUI | ( | Rect | windowRect | ) |
Shows the GUI.