Ejemplo n.º 1
0
 public void Initialize(IMapper mapper)
 {
     Mapper = mapper;
     Root   = mapper.Get();
     List   = new VerticalList <Items, Title>(
         mapper.Get <ScrollRect>("Scroll"),
         mapper.GetChild <Items>("Row"),
         mapper.GetChild <Title>("Title")
         );
 }
Ejemplo n.º 2
0
 public void Initialize(IMapper mapper)
 {
     Mapper       = mapper;
     Root         = mapper.Get();
     QuizText     = mapper.Get <TextMeshProUGUI>("QuizText");
     SelectButton = mapper.Get <Button>("SelectButton");
     Text         = mapper.Get <TextMeshProUGUI>("Text");
     SelectList   = new VerticalList <SelectButtonUiElements>(
         mapper.Get <ScrollRect>("Scroll Group 1"),
         mapper.GetChild <SelectButtonUiElements>("SelectButton")
         );
 }