Exemplo n.º 1
0
        protected override void Start()
        {
            base.Start();

            checkpointManager.Init();
            gameState.SaveInitialCheckpoint();
            Show(null);
        }
Exemplo n.º 2
0
        protected override void Start()
        {
            base.Start();

            checkpointManager.Init();

            imageViewer.Hide();
            ShowPage();
        }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
        protected override void Start()
        {
            base.Start();

            checkpointManager.Init();
        }