A Set of TScenes for the templating system (TileFabLib/TpZoneManager/TpZoneLayout).
More...
|
| class | TScene |
| | A TScene definition. This describes the relationshop between a ChunkTemplateSelector and the TpZoneLayout it should use. Note that the field m_LayoutSpec if injected at runtime since it's a scene object. More...
|
| class | TSceneSpec |
| | The control info for a scene's layout for ONE selector and grid. More...
|
|
| int | IndexOfScene (string sceneNameOrGuid, bool isGuid=false) |
| | Get the index of a scene from its name or GUID.
|
| TSceneSpec? | GetSceneSpec (TScene scene, string sceneLayoutNameOfSpec) |
| | Get the scene spec for a particular scene and a particular TSceneLayout component nam.
|
| bool | ValidateSceneList () |
| | Validate this list.
|
|
| IEnumerable< string > | SceneNames [get] |
| | A list of all the Scene names.
|
| int | Count [get] |
| | Number of scenes.
|
| string | GuidString [get] |
| | The GUID string for this TScene. Can be used in a save file to specify last scene used.
|
| HashSet< TpTileFab > | AllTileFabsInAllScenes [get] |
| | Get a HashSet with all of the TileFqbs in ALL scenes in this asset.
|
A Set of TScenes for the templating system (TileFabLib/TpZoneManager/TpZoneLayout).
◆ GetSceneSpec()
| TSceneSpec? TilePlus.TSceneList.GetSceneSpec |
( |
TScene | scene, |
|
|
string | sceneLayoutNameOfSpec ) |
Get the scene spec for a particular scene and a particular TSceneLayout component nam.
- Parameters
-
| scene | a TScene. |
| sceneLayoutNameOfSpec | the m_LayoutName field of a TScaleLayout component |
- Returns
- the named scene spec or null
◆ IndexOfScene()
| int TilePlus.TSceneList.IndexOfScene |
( |
string | sceneNameOrGuid, |
|
|
bool | isGuid = false ) |
Get the index of a scene from its name or GUID.
- Parameters
-
| sceneNameOrGuid | string |
| isGuid | set TRUE if you're testing a GUID |
- Returns
- index of -1 if not found
◆ ValidateSceneList()
| bool TilePlus.TSceneList.ValidateSceneList |
( |
| ) |
|
Validate this list.
- Returns
- false for no scenes in asset or if a selector is missing
◆ m_TileScenes
| List<TScene> TilePlus.TSceneList.m_TileScenes = new() |
◆ AllTileFabsInAllScenes
| HashSet<TpTileFab> TilePlus.TSceneList.AllTileFabsInAllScenes |
|
get |
Get a HashSet with all of the TileFqbs in ALL scenes in this asset.
◆ Count
| int TilePlus.TSceneList.Count |
|
get |
◆ GuidString
| string TilePlus.TSceneList.GuidString |
|
get |
The GUID string for this TScene. Can be used in a save file to specify last scene used.
◆ SceneNames
| IEnumerable<string> TilePlus.TSceneList.SceneNames |
|
get |
A list of all the Scene names.
The documentation for this class was generated from the following file:
- /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/FabAndZone/ScriptableObjects/TSceneList.cs