Singleton object for handling scene loading and widget creation
More...
Singleton object for handling scene loading and widget creation
Definition at line 16 of file JSONBuilder.cs.
§ AddWidget< T >() [1/2]
| void ARDesign.JSONBuilder.AddWidget< T > |
( |
IList< T > |
toAdd | ) |
|
Adds widgets to list of active widgets
- Template Parameters
-
- Parameters
-
| toAdd | List of widgets to add |
Definition at line 100 of file JSONBuilder.cs.
§ AddWidget< T >() [2/2]
| void ARDesign.JSONBuilder.AddWidget< T > |
( |
T |
toAdd | ) |
|
Adds widgets to list of active widgets
- Template Parameters
-
- Parameters
-
Definition at line 118 of file JSONBuilder.cs.
§ GetText()
| IEnumerator ARDesign.JSONBuilder.GetText |
( |
string |
id | ) |
|
Starts get request to fetch config for a given ID
- Parameters
-
| id | ID of scene config to load |
- Returns
- Get request for ID
Definition at line 136 of file JSONBuilder.cs.
§ InitializeScene()
| void ARDesign.JSONBuilder.InitializeScene |
( |
string |
json, |
|
|
GameObject |
origin |
|
) |
| |
Deserializes a scene configuration and builds it on the origin location
- Parameters
-
| json | Scene configuration to build |
| origin | Parent object to build scene on - should be vumark location |
Definition at line 87 of file JSONBuilder.cs.
§ UpdateWidgets()
| void ARDesign.JSONBuilder.UpdateWidgets |
( |
| ) |
|
Updates all widgets that are set to update
Definition at line 171 of file JSONBuilder.cs.
§ instance
The documentation for this class was generated from the following file: