Пример #1
0
        /// <inheritdoc/>
        protected override void Start()
        {
            _Params.InitTextures();
            LazyData = new LazyDataHelper <ClientModel>(this, CreateNewModel);

            base.Start();
        }
Пример #2
0
        /// <inheritdoc/>
        protected override void Start()
        {
            LazyData = new LazyDataHelper <BasicModel>(this, CreateRandomModel);

            _ImagesPool = new FIFOCachingPool(50, ImageDestroyer);

            base.Start();
        }
        /// <inheritdoc/>
        protected override void Start()
        {
            LazyData = new LazyDataHelper <BasicModel>(this, CreateNewModel);

            base.Start();
            _Params.deleteButton.onClick.AddListener(() => { if (!PlayPreDeleteAnimation())
                                                             {
                                                                 DeleteSelectedItems();
                                                             }
                                                     });                                                                           // delete items directly, if selected item is visible to wait for the delete animation
            _Params.cancelButton.onClick.AddListener(() => SetSelectionModeWithChecks(false));
        }
Пример #4
0
        /// <inheritdoc/>
        protected override void Start()
        {
            LazyData = new LazyDataHelper <ExampleItemModel>(this, CreateRandomModel);

            base.Start();
        }