public Timer ( System.Action onReached, float targetTime ) : System | ||
onReached | System.Action | |
targetTime | float | |
return | System |
public Timer(Action onReached, float targetTime)
{
this.elapsedTime = 0.0f;
this.onReached = onReached;
this.targetTime = targetTime;
}