Summary
A sample component that demonstrates how
Animancer.Samples.Jobs.SimpleLean
can be used as a dynamic response to getting hit.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Samples .Jobs - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["HitReceiver"]
class Type type-node
Syntax
[AddComponentMenu(Strings.SamplesMenuPrefix + "Jobs - Hit Receiver")]
[AnimancerHelpUrl(typeof(HitReceiver))]
public class HitReceiver : MonoBehaviour
Remarks
Sample:
Hit Impacts
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| Animancer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Animancer's documentation.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Awake |
void | |
| Hit |
void | |
| Update |
void |