Skip to content

Gaskellgames/Unity_SceneData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity - SceneData

Custom scripts for Unity3D that esimplifies scene referencing at runtime and in the editor:

  • SceneData uses a SceneAsset in the editor to cache the values of buildIndex, sceneName, sceneFilePath and guid.
  • New SceneData can be created at runtime from: a scene, a buildIndex or a sceneFilePath.

Inspector drawer:

  • Toggle to show/hide the cached scene info.
  • Coloured line to easily visualise if a scene is:

Green = in the build scenes and enabled:

SceneData In Build

Orange = not in the build scenes and enabled:

SceneData Not In Build

Red = Null:

SceneData Null

Simplifies script references:

Example SceneData useage

About

Custom editor scripts for Unity3D that add drag and drop inspector scene references, that persist with folder restructuring and scene name changes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages