- Home /
file browser error
hello i'm using the codes posted in "http://www.unifycommunity.com/wiki/index.php?title=ImprovedFileBrowser" error says "Assets/Standard Assets/Scripts/GUILayout1.cs(258,39): error CS0103: The name `GUILayoutx' does not exist in the current context" can someone help me :)
Answer by CHPedersen · Jul 20, 2011 at 09:00 AM
I'm using this File Browser too. If you read the very first line on top of the page, it reads:
"Note: This code uses the ImprovedSelectionList"
Clicking the link takes you to ImprovedSelectionList's Wikisite, which, as you'll notice, is the source code for GUILayoutx. You need to copy paste that code to an empty class you create in the project. Then the error will go away.
thanks! i think i misread the instructions, would you $$anonymous$$d helping me with this error? "Unable to find style 'List Item' in skin '' Repaint", sorry i'm a bit new in scripts :)
If you do a 10-second google for File Browser and $$anonymous$$ Brauer, (the guy who made it), you'll find this thread in the forum:
http://forum.unity3d.com/threads/84601-File-Browser
Which discusses people having the exact same difficulty you do with using the File Browser. The thread contains a link to the skin that contains the custom style "List Item", which is missing from your default skin, which is why you get the error.
Your answer
Follow this Question
Related Questions
GUI text like GTA 2 Answers
Window Background Image not showing 1 Answer
Equipment Screen Display 1 Answer
NGUI: Duplicate/Rotate? 0 Answers
GUI Formatting Problem 1 Answer