Show / Hide Table of Contents

Class FancyCellGroup<TItemData, TContext>

複数の FancyCell<TItemData, TContext> を持つセルグループ実装するための抽象基底クラス.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
FancyCell<TItemData[], TContext>
FancyCellGroup<TItemData, TContext>
FancyGridView<TItemData, TContext>.DefaultCellGroup
Inherited Members
FancyCell<TItemData[], TContext>.Index
FancyCell<TItemData[], TContext>.IsVisible
FancyCell<TItemData[], TContext>.Context
FancyCell<TItemData[], TContext>.SetContext(TContext)
FancyCell<TItemData[], TContext>.Initialize()
FancyCell<TItemData[], TContext>.SetVisible(Boolean)
FancyCell<TItemData[], TContext>.UpdateContent(TItemData[])
FancyCell<TItemData[], TContext>.UpdatePosition(Single)
Namespace: FancyScrollView
Assembly: FancyScrollView.dll
Syntax
public abstract class FancyCellGroup<TItemData, TContext> : FancyCell<TItemData[], TContext> where TContext : class, IFancyCellGroupContext, new()
Type Parameters
Name Description
TItemData

アイテムのデータ型.

TContext

Context の型.

Properties

Cells

このグループで表示するセルの配列.

Declaration
protected virtual FancyCell<TItemData, TContext>[] Cells { get; }
Property Value
Type Description
FancyCell<TItemData, TContext>[]

Methods

Initialize()

Declaration
public override void Initialize()
Overrides
FancyScrollView.FancyCell<TItemData[], TContext>.Initialize()

InstantiateCells()

このグループで表示するセルの配列をインスタンス化します.

Declaration
protected virtual FancyCell<TItemData, TContext>[] InstantiateCells()
Returns
Type Description
FancyCell<TItemData, TContext>[]

このグループで表示するセルの配列.

UpdateContent(TItemData[])

Declaration
public override void UpdateContent(TItemData[] contents)
Parameters
Type Name Description
TItemData[] contents
Overrides
FancyScrollView.FancyCell<TItemData[], TContext>.UpdateContent(TItemData[])

UpdatePosition(Single)

Declaration
public override void UpdatePosition(float position)
Parameters
Type Name Description
System.Single position
Overrides
FancyScrollView.FancyCell<TItemData[], TContext>.UpdatePosition(System.Single)
Back to top Generated by DocFX