Summary
Up, Right, Down, Left, or their diagonals.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Base Types
-
- Enum
graph BT
Type-->Base0["Enum"]
Type["Direction8"]
class Type type-node
Syntax
public enum Direction8
Remarks
Documentation:
Directional Animation Sets
Fields
Name | Constant Value | Summary |
---|---|---|
Down | 2 |
UnityEngine.Vector2.down .static
|
DownLeft | 6 |
UnityEngine.Vector2 (-0.7..., -0.7...).static
|
DownRight | 5 |
UnityEngine.Vector2 (0.7..., -0.7...).static
|
Left | 3 |
UnityEngine.Vector2.left .static
|
Right | 1 |
UnityEngine.Vector2.right .static
|
Up | 0 |
UnityEngine.Vector2.up .static
|
UpLeft | 7 |
UnityEngine.Vector2 (-0.7..., 0.7...).static
|
UpRight | 4 |
UnityEngine.Vector2 (0.7..., 0.7...).static
|
Extension Methods
Name | Value | Summary |
---|---|---|
GetOppositeDirection |
Direction8 |
Returns the opposite of the given `direction`.
From Directions
|