Skip to content

Unity3D script, that allows assigning serializable references to scenes in inspector.

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

Tymski/SceneReference

Repository files navigation

SceneReference.cs for Unity3D

Unity3D script, that allows assigning serializable references to scenes in inspector.
Works in editor and in build.
Based on https://github.com/starikcetin/unity-scene-reference

Instalation

Install as git package,
or just drop SceneReference.cs anywhere in your "Assets" folder.

Usage

  1. Add using Tymski;
  2. Make a field in your script
    public SceneReference scene; 
  1. In inspector, reference your scene
    Scene field

  2. Load your scene

    SceneManagement.SceneManager.LoadScene(scene);

About

Unity3D script, that allows assigning serializable references to scenes in inspector.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages