Answer the question
In order to leave comments, you need to log in
How can I make a long press of a key in Unity to perform some action?
I have a script for buttons, in this script there should be a function PressButton (Action CallBack), which will be called in another script through a button: BtnE.PressButton(). PressButton should return CallBack when pressed, maybe I don't know CallBack.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question