Table of Contents

Interface IAssetCollection<TType>

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll
public interface IAssetCollection<TType>

Type Parameters

TType

Properties

AssetsNumber

int AssetsNumber { get; }

Property Value

int

SelectedAssetIndex

int SelectedAssetIndex { get; set; }

Property Value

int

Methods

SelectAsset(int, bool, float)

void SelectAsset(int index, bool isInstantly, float selectionDuration)

Parameters

index int
isInstantly bool
selectionDuration float

Events

OnAssetSelected

event Action<TType> OnAssetSelected

Event Type

Action<TType>