Feel  5.1
The best way to improve your game's feel and make it extra juicy
Lofelt.NiceVibrations.BallDemoBall Class Reference
Inheritance diagram for Lofelt.NiceVibrations.BallDemoBall:

Public Member Functions

virtual void HitPusher ()
 

Public Attributes

bool HapticsEnabled = true
 
ParticleSystem HitParticles
 
ParticleSystem HitPusherParticles
 
LayerMask WallMask
 
LayerMask PusherMask
 
MMUIShaker LogoShaker
 
AudioSource EmphasisAudioSource
 

Protected Member Functions

virtual void Awake ()
 
virtual void OnCollisionEnter2D (Collision2D collision)
 
virtual void Update ()
 
virtual void HitBottom ()
 
virtual void HitWall ()
 

Protected Attributes

Rigidbody2D _rigidBody
 
float _lastRaycastTimestamp = 0f
 
Animator _ballAnimator
 
int _hitAnimationParameter
 

Member Function Documentation

◆ Awake()

virtual void Lofelt.NiceVibrations.BallDemoBall.Awake ( )
protectedvirtual

◆ HitBottom()

virtual void Lofelt.NiceVibrations.BallDemoBall.HitBottom ( )
protectedvirtual

◆ HitPusher()

virtual void Lofelt.NiceVibrations.BallDemoBall.HitPusher ( )
virtual

◆ HitWall()

virtual void Lofelt.NiceVibrations.BallDemoBall.HitWall ( )
protectedvirtual

◆ OnCollisionEnter2D()

virtual void Lofelt.NiceVibrations.BallDemoBall.OnCollisionEnter2D ( Collision2D  collision)
protectedvirtual

◆ Update()

virtual void Lofelt.NiceVibrations.BallDemoBall.Update ( )
protectedvirtual

Member Data Documentation

◆ _ballAnimator

Animator Lofelt.NiceVibrations.BallDemoBall._ballAnimator
protected

◆ _hitAnimationParameter

int Lofelt.NiceVibrations.BallDemoBall._hitAnimationParameter
protected

◆ _lastRaycastTimestamp

float Lofelt.NiceVibrations.BallDemoBall._lastRaycastTimestamp = 0f
protected

◆ _rigidBody

Rigidbody2D Lofelt.NiceVibrations.BallDemoBall._rigidBody
protected

◆ EmphasisAudioSource

AudioSource Lofelt.NiceVibrations.BallDemoBall.EmphasisAudioSource

◆ HapticsEnabled

bool Lofelt.NiceVibrations.BallDemoBall.HapticsEnabled = true

◆ HitParticles

ParticleSystem Lofelt.NiceVibrations.BallDemoBall.HitParticles

◆ HitPusherParticles

ParticleSystem Lofelt.NiceVibrations.BallDemoBall.HitPusherParticles

◆ LogoShaker

MMUIShaker Lofelt.NiceVibrations.BallDemoBall.LogoShaker

◆ PusherMask

LayerMask Lofelt.NiceVibrations.BallDemoBall.PusherMask

◆ WallMask

LayerMask Lofelt.NiceVibrations.BallDemoBall.WallMask

The documentation for this class was generated from the following file: