Change on_debugger to register_debugger.

This commit is contained in:
Stephen Chung
2022-02-01 14:07:06 +08:00
parent 389bb9bf66
commit dca0185323
3 changed files with 3 additions and 3 deletions

View File

@@ -264,7 +264,7 @@ impl Engine {
/// Exported under the `debugging` feature only.
#[cfg(feature = "debugging")]
#[inline(always)]
pub fn on_debugger(
pub fn register_debugger(
&mut self,
init: impl Fn() -> Dynamic + SendSync + 'static,
callback: impl Fn(