Summary
A generic set of objects corresponding to up/right/down/left.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Base Types
-
- ScriptableObject
- DirectionalSet
<T>
- Derived Types
graph BT
Type-->Base0["DirectionalSet<T>"]
Base0-->Base1["ScriptableObject"]
Type["DirectionalSet4<T>"]
class Type type-node
Derived0["DirectionalAnimationSet4"]-->Type
click Derived0 "/animancer/api/Animancer/DirectionalAnimationSet4"
Derived1["DirectionalSet8<T>"]-->Type
click Derived1 "/animancer/api/Animancer/DirectionalSet8_1"
Syntax
[AnimancerHelpUrl(typeof(DirectionalSet4<>))]
public class DirectionalSet4<T> : DirectionalSet<T>
Remarks
Documentation:
Directional Animation Sets
Attributes
| Type | Description |
|---|---|
| Animancer |
[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.
|
| Down | T |
[
UnityEngine.SerializeField] The object for Animancer.Direction4.Down. |
| Left | T |
[
UnityEngine.SerializeField] The object for Animancer.Direction4.Left. |
| Right | T |
[
UnityEngine.SerializeField] The object for Animancer.Direction4.Right. |
| Up | T |
[
UnityEngine.SerializeField] The object for Animancer.Direction4.Up. |
Methods
| Name | Value | Summary |
|---|---|---|
| Get |
T |
Returns the object associated with the specified `direction`.
|
| GetDirectionName |
string |
Returns the name of the specified `direction`.
|