This commit is contained in:
2026-07-09 21:33:33 +02:00
commit 84a2a365f3
2364 changed files with 950134 additions and 0 deletions
@@ -0,0 +1,11 @@
using UnityEngine;
[System.Serializable]
public class SceneReference
{
[SerializeField] private Object _sceneAsset;
[SerializeField] private string _scenePath = "";
// makes it work with the existing Unity methods (LoadLevel/LoadScene)
public static implicit operator string(SceneReference sceneReference) => sceneReference._scenePath;
}