feat: basic online working with relay
This commit is contained in:
@@ -32,10 +32,11 @@ class CustomInputHandler : InputAxisControllerBase<CustomInputHandler.Reader>
|
||||
// We process user input on the Update clock
|
||||
void Update()
|
||||
{
|
||||
if (Application.isPlaying)
|
||||
if (Application.isPlaying){
|
||||
UpdateControllers();
|
||||
Controllers[0].Input.ProcessInput(PlayerInput);
|
||||
Controllers[1].Input.ProcessInput(PlayerInput);
|
||||
Controllers[0].Input.ProcessInput(PlayerInput);
|
||||
Controllers[1].Input.ProcessInput(PlayerInput);
|
||||
}
|
||||
}
|
||||
|
||||
public void AddEvents(){
|
||||
|
||||
Reference in New Issue
Block a user