Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Pflegeleichtt · May 07, 2011 at 01:16 PM · filebrowser

Unable to Use File Browser from Wiki

Hi, i'm trying to use a FileBrowser from Wiki in my Project. I use this one here : http://www.unifycommunity.com/wiki/index.php?title=ImprovedFileBrowser

i added this script too: http://www.unifycommunity.com/wiki/index.php?title=ImprovedSelectionList

and i created a GUISkin , called GameSkin with a custom GUI Style List Item.

But there is this ErrorMessage and i can't go in the sub-folders:

Unable to find style 'List Item' in skin 'GameSkin' Ignore

Are there any Solutions?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Bunny83 · May 07, 2011 at 01:31 PM

The selection list uses a custom style "List Item". It seems you didn't create that in your skin. Look at the customstyles of the included skin, there should be one called "List Item".

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Pflegeleichtt · May 07, 2011 at 01:35 PM 0
Share

quote : and i created a GUISkin , called GameSkin with a custom GUI Style List Item.

i tried this.

avatar image
0

Answer by Pflegeleichtt · May 07, 2011 at 01:42 PM

k found the bug, there is a special case sensitivity , you have to change the the "List Item" in your Layoutx script to "list item", then it schould work. ( Even if you write : "List Item" in your GUISkin Custom Style Section the Engine took always the small letters)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bunny83 · May 07, 2011 at 02:55 PM 0
Share

I can't verify that. I use a lot of custom styles and they are not case sensitive at all. One of my styles, "Close Button", can be used with a string like "ClOsE BuTtOn" without any problems.

avatar image
0

Answer by The-Oddler · Jul 31, 2011 at 12:23 PM

You should add a custom stile called "List Item" in the GUI skin you are using. The default GUI Skin does not have this.

Also, you should make sure your game uses this skin, by adding the following line BEFORE you call the FileBrowser.OnGUi():

 GUI.skin = yourNewGuiSkin;

This will tell your game which GUISkin it should use to draw all next GUI elements, until you tell him differently (using the same code again).

Also, the name of that new GUISkin doesn't matter, it does matter that you tell the GUI to use it ;) So your GUISkin doesn't have to be called "GameSkin" it can be called anything you want.

Hope this helps.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

UWP & VR Compatable File Browser 0 Answers

Can I replace an audio clip with a user selected file on android? 3 Answers

How to use native android file-open-dialog in Unity? 1 Answer

Open Other Project no longer browses folders 0 Answers

Custom FileBrowser : Experiencing hangs and big delays. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges