[Help] lecture 19 - Vector2 conversion of floats into public location & homeLocation

Hi Sam,
I am confused in that where the variables are stored (and why it is not visible when we eliminated - location = (x, y) and changed that to - public Vector2 location; - same goes for - homeLocation.

This is more a logic questions since I don’t see stored values unless I look at component on the inspector. Perhaps it is in the sequence described in 19 lecture re: classes.
Tony

Privacy & Terms