Hi, I have a question about the 3d starter assets pack. I would still consider myself a pretty new programmer, so I don’t know alot of things, but I can still wrap my head around some of them. However, I really don’t understand these lines of code from the starter assets script, and how they work.
public void OnMove(InputValue value)
{
MoveInput(value.Get<Vector2>());
}
public void MoveInput(Vector2 newMoveDirection)
{
move = newMoveDirection;
}
If someone could please explain to me how these work, I would appreciate that greatly