Adam Ramberg 5d9f8dca71 WIP
2020-03-01 21:32:52 +01:00

30 lines
792 B
C#

// using UnityEngine;
// using UnityEngine.SceneManagement;
// using UnityEngine.Serialization;
// namespace UnityAtoms.SceneMgmt
// {
// /// <summary>
// /// Action to change scene.
// /// </summary>
// [EditorIcon("atom-icon-purple")]
// [CreateAssetMenu(menuName = "Unity Atoms/Actions/Scene Management/Change Scene")]
// public sealed class ChangeScene : VoidAction
// {
// /// <summary>
// /// Scene to change to.
// /// </summary>
// [SerializeField]
// private StringReference _sceneName = null;
// /// <summary>
// /// Change the scene.
// /// </summary>
// public override void Do()
// {
// SceneManager.LoadScene(_sceneName.Value);
// }
// }
// }