Padmanabhan Kunnath Prabhakaran| Udemy

Hi,
I am on chapter 55 Distance As A Vector2 in Complete C# Unity Developer 2D: Learn to Code Making Games

When I am writing the line
[SerializeField] Paddle paddle;

I am getting an error The type or namespace name ‘Paddle’ could not be found (are you missing a using directive or an assembly reference?)

Please let me know how to resolve this

Thanks,
Appu

Please ignore. My paddle script name was PaddleHandler.

I should use
[SerializeField] PaddleHandler paddle;

Privacy & Terms