How do I check whether a player is holding the SPACE key or pressing it?

后端 未结 0 1980
情书的邮戳
情书的邮戳 2020-11-21 21:57

I want to bind 2 attack styles to the same key, and switch between them based on whether or not the player is holding it or just pressing.

void Attack()
    {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题