DirectionalAnimationSet8.

SetClipByName(AnimationClip) Method

Summary

[Editor-Only] Attempts to assign the `clip` to one of this set's fields based on its name and returns the direction index of that field (or -1 if it was unable to determine the direction).
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
DirectionalAnimationSet8

Syntax

public override int SetClipByName(AnimationClip clip)

Parameters

Name Type Description
clip AnimationClip

Return Value

Type Description
int