KhaHotReload icon indicating copy to clipboard operation
KhaHotReload copied to clipboard

Request: Facilitate checks by user code to see how many reloads have occurred.

Open jackwlee01 opened this issue 4 years ago • 0 comments

I tried to make a pull request but couldn't push to the remote.

Can we have a static reloads variable in hotml.client.Kha, like so:

public static var reloads:Int = 0;

which gets incremented every time reloadAsset is called?

This would allow me to keep track of how many reloads have occurs, and whether or not I need to reset or reload some state in my application.

jackwlee01 avatar Jun 08 '21 09:06 jackwlee01