public void Overwrite(InputParameters other) { other.horz = horz; other.vert = vert; }
public void Get(InputParameters parameters) { parameters.horz = Input.GetAxisRaw("Horizontal"); parameters.vert = Input.GetAxisRaw("Vertical"); }