Fix singleton pattern.
This commit is contained in:
@@ -25,6 +25,8 @@ namespace Cryville.Crtr.Browsing.UI {
|
||||
public ActionManager Actions { get; private set; }
|
||||
|
||||
protected override void Awake() {
|
||||
base.Awake();
|
||||
|
||||
Actions = new ActionManager();
|
||||
Actions.Register(new PlayChartAction());
|
||||
|
||||
|
@@ -26,6 +26,8 @@ namespace Cryville.Crtr.UI {
|
||||
int totalTasks = 0;
|
||||
#pragma warning disable IDE0051
|
||||
protected override void Awake() {
|
||||
base.Awake();
|
||||
|
||||
Game.Init();
|
||||
m_contents.SetActive(true);
|
||||
PushTitle("Chart Browser");
|
||||
|
Reference in New Issue
Block a user