is_action_pressed和is_action_just_pressed的区别,新手不了解这个
对于你的ri_click动作应该是鼠标右键吧
is_action_just_pressed是只有鼠标右键按下那一刻才返回true
即使你不松手,它后面也只会返回false
is_action_pressed只要你按住右键就返回true
由于一秒刷新60次,哪怕你只是单击一次鼠标
但这个时间间隔已经够完成多轮process的执行
is_action_pressed在这期间也返回true,会多次执行free操作
还有用quere_free替换free更安全