AnimancerEditorUtilities.

SetCount<T>(List<T>, int) Method

Summary

Adds default items or removes items to make the System.Collections.Generic.List`1.Count equal to the `count`.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
AnimancerEditorUtilities

Syntax

public static void SetCount<T>(List<T> list, int count)

Type Parameters

Name Description
T

Parameters

Name Type Description
list List<T>
count int

Return Value

Type Description
void