Here is a short tip for Unity3D developers in variable declaration. Sometimes, we declare a new variable and face a error. The error says, ".... hides inherited member .....". As like the picture below...
To get rid of this, simply add a new keyword before datatype.
Now it's okay. Happy Coding!
Top comments (0)