everything is in unity
If anyone can help me I am new
This is the code for PlayerInput
:
everything is in unity
If anyone can help me I am new
This is the code for PlayerInput
:
NullRefereenceException usually refer that there's a variable/field is not set/ initialized during my intial review of your code there is playerVelocity field in PlayerMotor which is not initilized in the start or awake methods and its a private field so i also assumed that you didnt set value for it from inspector too
so in processMove method you are trying to access to playerVelocity which has a null as value