Trace debugFloat on change
This commit is contained in:
parent
73a021e09a
commit
a914014718
|
@ -71,8 +71,8 @@ class DebugConsole extends Trait {
|
|||
// Toggle console
|
||||
kha.input.Keyboard.get().notify(null, null, function(char: String) {
|
||||
if (char == "~") visible = !visible;
|
||||
else if (char == "[") debugFloat -= 0.1;
|
||||
else if (char == "]") debugFloat += 0.1;
|
||||
else if (char == "[") { debugFloat -= 0.1; trace(debugFloat); }
|
||||
else if (char == "]") { debugFloat += 0.1; trace(debugFloat); }
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue