Pull up singleton behaviour.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
using Cryville.Common.Unity;
|
||||
using Cryville.Crtr.Browsing.Actions;
|
||||
using Cryville.Crtr.Config.UI;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cryville.Crtr.Browsing.UI {
|
||||
public class ResourceBrowserMaster : MonoBehaviour {
|
||||
public class ResourceBrowserMaster : SingletonBehaviour<ResourceBrowserMaster> {
|
||||
[SerializeField]
|
||||
ConfigPanelMaster m_configPanel;
|
||||
[SerializeField]
|
||||
@@ -21,7 +22,7 @@ namespace Cryville.Crtr.Browsing.UI {
|
||||
|
||||
public ActionManager Actions { get; private set; }
|
||||
|
||||
void Awake() {
|
||||
protected override void Awake() {
|
||||
Actions = new ActionManager();
|
||||
Actions.Register(new PlayChartAction());
|
||||
|
||||
|
Reference in New Issue
Block a user