A faster coroutine without needing a monobehaviour. This holds a callback which gets executed at a particular rate (or at the framerate if unspecified).
Public Member Functions | |
OnUpdateCallback (UpdateMethod method, float fps) | |
OnUpdateCallback (UpdateMethod method) | |
void | SetRate (float rate) |
void | Stop () |
void | Remove () |
void | RunMethod () |
Public Attributes | |
OnUpdateCallback | Next |
OnUpdateCallback | Previous |
Properties | |
float | deltaTime [get] |
Frame time between this being called. More... | |
Private Attributes | |
float | Limit |
float | Counter |
UpdateMethod | Method |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
OnUpdateCallback PowerUI.OnUpdateCallback.Next |
OnUpdateCallback PowerUI.OnUpdateCallback.Previous |
|
get |
Frame time between this being called.