Class FancyGridViewCell<TItemData, TContext>
FancyGridView<TItemData, TContext> のセルを実装するための抽象基底クラス. Context が不要な場合は 代わりに FancyGridViewCell<TItemData> を使用します.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
FancyCell<TItemData, TContext>
FancyScrollRectCell<TItemData, TContext>
FancyGridViewCell<TItemData, TContext>
FancyGridViewCell<TItemData>
Inherited Members
Namespace: FancyScrollView
Assembly: FancyScrollView.dll
Syntax
public abstract class FancyGridViewCell<TItemData, TContext> : FancyScrollRectCell<TItemData, TContext> where TContext : class, IFancyGridViewContext, new()
Type Parameters
Name | Description |
---|---|
TItemData | アイテムのデータ型. |
TContext | Context の型. |
Methods
UpdatePosition(Single, Single)
Declaration
protected override void UpdatePosition(float normalizedPosition, float localPosition)
Parameters
Type | Name | Description |
---|---|---|
System.Single | normalizedPosition | |
System.Single | localPosition |
Overrides
FancyScrollView.FancyScrollRectCell<TItemData, TContext>.UpdatePosition(System.Single, System.Single)