Weird script behavior in Unity Inspector.

Updated on March 6, 2017 in  [R] Scripts
Share on Facebook0Tweet about this on Twitter0Share on Google+0Share on Reddit0
2 on March 5, 2017

I followed Brackeys video about his Workflow and Settings.

The part I am focused about is when he changes the C# Script-NewBehaviourScript.cs file.

I did the same but after that I found the inspector in Unity is showing my scripts all weird. The scripts work but it’s annoying and hard to read when it’s in an un-even order.

In Unity:

 

In Visual Studio.

The script file.

I wanted to know if there is a fix to this or if I should just try to ignore it.

Thanks.  :)

  • Liked by
Reply
0 on March 6, 2017

Nope I don’t really know why you would want to read your scripts in the Inspector but I don’t think there’s an actual fix for it

  • Liked by
Reply
Cancel
0 on March 6, 2017

It would be to get a quick overview of what code the script contains, but I can see now that visual studio does that quite well too. 

Thanks for the reply  :)

  • Liked by
Reply
Cancel