GolfBall Class

Summary

Manages the physics of a golf ball.
Assembly
Animancer.dll
Namespace
Animancer.Samples.Events
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["GolfBall"] class Type type-node

Syntax

[AddComponentMenu(Strings.SamplesMenuPrefix + "Golf Events - Golf Ball")]
[AnimancerHelpUrl(typeof(GolfBall))]
public class GolfBall : MonoBehaviour

Remarks

Sample: Golf Events

Attributes

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

Properties

Name Value Summary
ReadyToHit bool

Methods

Name Value Summary
Awake() void
FixedUpdate() void
Hit() void