Ejemplo n.º 1
0
        public void ShowButton(NodeAddedEvent e, SingleNode <TutorialScreenComponent> active, [JoinAll] SingleNode <MainScreenComponent> mainScreen, [JoinAll] SingleNode <SelfUserComponent> selfUser)
        {
            TutorialCanvas instance = TutorialCanvas.Instance;

            instance.SkipTutorialButton.SetActive(true);
            foreach (Selectable selectable in instance.GetComponentInChildren <SkipTutorialConfirmWindowComponent>(true).GetComponentsInChildren <Selectable>())
            {
                instance.AddAllowSelectable(selectable);
                selectable.interactable = true;
            }
        }
Ejemplo n.º 2
0
 private void Start()
 {
     Instance = this;
 }