Why does this happen?
This method has a Vector3 passed through and it sets a public variable and logs it. But when it displays the Vector3 in the inspector it is 0 0 0 but in the console it displays the correct value. I have no idea why this happens.
 public Vector3 POS;
 public void Method(Vector3 _POS)
 {
     POS = _POS;
     Debug.Log($"{_POS}");
 }
 
              
               Comment
              
 
               
              Your answer