Skip to main content
Cleaning up inspector tag.
Link
Vaillancourt
  • 16.4k
  • 17
  • 56
  • 61
Source Link
TobiasW
  • 987
  • 6
  • 20
  • 37

Can't add inspector variables to script?

So I just added this script to my project : https://www.assetstore.unity3d.com/en/#!/content/11278 Since this script only draws the lines on gizmos, I wanted to add a LineRenderer, so that I can draw the lines also in GameView. So I simply wrote :

public LineRenderer lr;

But this variable never appears in my inspector, can anybody explain me why this happens and how I could fix it?