Wanzyee Studio

Invoke event by delay and repeat time. More...

Inherits MonoBehaviour.

Public Member Functions

void Invoke ()
 Invoke the listener event. More...
 

Public Attributes

float delay
 Delay seconds to invoke after enabled. More...
 
int repeat = 1
 Repeat count to invoke, 0 means unlimited. More...
 
float interval = 1f
 Interval between repeat invoke. More...
 
UnityEvent onTime = new UnityEvent()
 Listener event to invoke. More...
 

Detailed Description

Invoke event by delay and repeat time.

Member Function Documentation

void Invoke ( )

Invoke the listener event.

Member Data Documentation

float delay

Delay seconds to invoke after enabled.

int repeat = 1

Repeat count to invoke, 0 means unlimited.

float interval = 1f

Interval between repeat invoke.

UnityEvent onTime = new UnityEvent()

Listener event to invoke.