Scene Reference
Custom property that allows to reference scene asset directly from the Editor
com.skibitsky.scene-reference 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/scene-reference.git README Markdown
Copy this to your project's README.md
## Installation
Add **Scene Reference** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/scene-reference.git
```
[](https://www.pkglnk.dev/pkg/scene-reference)README
SceneReference 
Custom property that allows to reference scene asset directly from the Editor
Usage
public class SceneLoader : MonoBehaviour
{
[SerializeField] private SceneReference sceneToLoad;
private void Start()
{
SceneManager.LoadSceneAsync(sceneToLoad);
}
}
Installation
Install via OpenUPM
The package is available on the openupm registry. It's recommended to install it via openupm-cli.
openupm add com.skibitsky.scene-reference
Install via Git URL
Open Packages/manifest.json with your favorite text editor. Add the following line to the dependencies block.
{
"dependencies": {
"com.skibitsky.scene-reference": "https://github.com/skibitsky/scene-reference.git"
}
}
Notice: Unity Package Manager records the current commit to a lock entry of the manifest.json. To update to the latest version, change the hash value manually or remove the lock entry to resolve the package.
"lock": {
"com.skibitsky.scene-reference": {
"revision": "master",
"hash": "..."
}
}
No comments yet. Be the first!