I just simply want to replace your built-in input system with mine

I tried to figure out myself but it didn't work.
How can I call or deliver certain input data to dialogue system?
Code: Select all
void Start()
{
InputDeviceManager.instance.GetButtonDown = MyGetButtonDownMethod;
}
bool MyGetButtonDownMethod(string buttonName)
{
// Here, return true if the button was just pressed down this frame. Otherwise return false.
}