ClickToHit Class

Summary

An sample component that calls Animancer.Samples.Jobs.HitReceiver.Hit(UnityEngine.Vector3,System.Single) when the user clicks on the ground.
Assembly
Animancer.dll
Namespace
Animancer.Samples.Jobs
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["ClickToHit"] class Type type-node

Syntax

[AddComponentMenu(Strings.SamplesMenuPrefix + "Jobs - Click to Hit")]
[AnimancerHelpUrl(typeof(ClickToHit))]
public class ClickToHit : MonoBehaviour

Remarks

Sample: Hit Impacts

Attributes

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

Methods

Name Value Summary
Update() void