TransitionLibrarySort Class

Summary

[Editor-Only] Utility for sorting a Animancer.TransitionLibraries.TransitionLibraryAsset.
Assembly
Animancer.dll
Namespace
Animancer.Editor.TransitionLibraries
Base Types
  • AssetModificationProcessor
graph BT Type-->Base0["AssetModificationProcessor"] Type["TransitionLibrarySort"] class Type type-node

Syntax

public class TransitionLibrarySort : AssetModificationProcessor

Methods

Name Value Summary
GetTempSequentialIndices(int) int[]
Returns a cached array containing sequential indices, i.e. array[i] = i.
static
MoveTransition(TransitionLibraryWindow, int, int) void
Changes the index of a transition.
static
SetTransitions(TransitionLibraryDefinition, TransitionAssetBase[], int[], int) void
Sets the Animancer.TransitionLibraries.TransitionLibraryDefinition.Transitions using `oldIndexToNew` to remap any references to the old order.
static
Sort(TransitionLibraryAsset) void
Applies the Animancer.Editor.TransitionLibraries.TransitionLibraryEditorData.TransitionSortMode.
static
Sort(TransitionLibraryDefinition, Comparison<TransitionAssetBase>) void
Sorts the Animancer.TransitionLibraries.TransitionLibraryDefinition.Transitions.
static
Sort(TransitionLibraryDefinition, IComparer<TransitionAssetBase>) void
Sorts the Animancer.TransitionLibraries.TransitionLibraryDefinition.Transitions.
static