I’m new to this unity thing, but I’ve been programming games a while.
Making a simple platformer where the player has a child object with a box collider at the “feet” of the player.
I have this script for the feet object so I can access the players public variables.
Player player = gameObject.GetComponentInParent<Player> ();
Keeps telling me “The type or namespace name `Player’ could not be found.” What’s up? Thanks for your help in advance.