protected override void Start() { base.Start(); checkpointManager.Init(); gameState.SaveInitialCheckpoint(); Show(null); }
protected override void Start() { base.Start(); checkpointManager.Init(); imageViewer.Hide(); ShowPage(); }
protected override void Start() { base.Start(); checkpointManager.Init(); buttons = startNodeNames.Select(chapter => { var go = Instantiate(chapterButtonPrefab, chapterList.transform); var button = go.GetComponent <Button>(); button.onClick.AddListener(() => Hide(() => BeginChapter(chapter))); return(new KeyValuePair <string, GameObject>(chapter, go)); }).ToDictionary(p => p.Key, p => p.Value); }
protected override void Start() { base.Start(); checkpointManager.Init(); }