private void Start() { gameState = Utils.FindNovaGameController().GameState; saveViewController = Utils.FindViewManager().GetController <SaveViewController>(); gameState.nodeChanged.AddListener(OnNodeChanged); gameState.selectionOccurs.AddListener(OnSelectionOccurs); }
private void Start() { gameState = Utils.FindNovaGameController().GameState; checkpointManager = Utils.FindNovaGameController().CheckpointManager; saveViewController = GetComponent <SaveViewController>(); gameState.BranchOccurs += OnBranchOccurs; saveViewController.bookmarkSave.AddListener(OnBookmarkSave); saveViewController.bookmarkLoad.AddListener(OnBookmarkLoad); saveViewController.bookmarkDelete.AddListener(OnBookmarkDelete); }