DirectionalSet2<T> Class

Summary

A generic set of objects corresponding to left/right.
Assembly
Animancer.dll
Namespace
Animancer
Base Types
Derived Types
graph BT Type-->Base0["DirectionalSet<T>"] Base0-->Base1["ScriptableObject"] Type["DirectionalSet2<T>"] class Type type-node Derived0["DirectionalAnimationSet2"]-->Type click Derived0 "/animancer/api/Animancer/DirectionalAnimationSet2"

Syntax

[AnimancerHelpUrl(typeof(DirectionalSet2<>))]
public class DirectionalSet2<T> : DirectionalSet<T>

Remarks

Documentation: Directional Animation Sets

Attributes

Type Description
AnimancerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Animancer's documentation.

Type Parameters

Name Description
T

Properties

Name Value Summary
DirectionCount int
The number of directions in this set.
Left T
[UnityEngine.SerializeField] The object for Animancer.Direction2.Left.
Right T
[UnityEngine.SerializeField] The object for Animancer.Direction2.Right.

Methods

Name Value Summary
Get(Direction2) T
Returns the object associated with the specified `direction`.
GetDirectionName(int) string
Returns the name of the specified `direction`.