Project Arrhythmia
A video game developed by Vitamin Games.
Loading...
Searching...
No Matches
VGFunctions.Debounce Class Reference

Class to create a new debounce property. More...

Public Member Functions

void Run (System.Action _callback, float _interval, MonoBehaviour _mono)
 Run a debounce object.
 
void ResetTime (MonoBehaviour _mono)
 
bool IsRunning ()
 
void Reset (MonoBehaviour _mono)
 

Private Member Functions

IEnumerator DebounceCorountine (float _time)
 

Private Attributes

System.Action _callback = null
 
Coroutine _corountine = null
 

Detailed Description

Class to create a new debounce property.

Member Function Documentation

◆ Run()

void VGFunctions.Debounce.Run ( System::Action _callback,
float _interval,
MonoBehaviour _mono )

Run a debounce object.

Parameters
_callbackAction to take on success.
_intervalThe amount of time to debounce.
_monoMonoBehaviour to run everything on.

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