Пример #1
0
 public void Overwrite(InputParameters other)
 {
     other.horz = horz;
     other.vert = vert;
 }
Пример #2
0
 public void Get(InputParameters parameters)
 {
     parameters.horz = Input.GetAxisRaw("Horizontal");
     parameters.vert = Input.GetAxisRaw("Vertical");
 }