哈哈,我的射击游戏正好用这个检测一下
还是看不不懂...哎,想理解都难= =....
顺便问一下
Establishes proc as the handler for tracing, or disables tracing if the parameter is nil. proc takes up to six parameters: an event name, a filename, a line number, an object id, a binding, and the name of a class. proc is invoked whenever an event occurs. Events are: c-call (call a C-language routine), c-return (return from a C-language routine), call (call a Ruby method), class (start a class or module definition), end (finish a class or module definition), line (execute code on a new line), raise (raise an exception), and return (return from a Ruby method). Tracing is disabled within the context of proc
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |