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
1
Question by Elit3d · Jan 04, 2015 at 02:53 PM · uicontrollereventsystem

event system first selected

so I am using 4.6 unity and I am trying to get perfect or near perfect controller support for my UI. One thing I came across was the "First Selected" on the event system. Now, currently that is only allowing me to do it with one option from my UI. I would like more options as I have a pause, options and quit canvas's so when I open each, it requires my mouse to be moved in order to get the controller working on each. This defeats the purpose of using the controller. Is there anyway to attach a First Selected on each canvas and if so how?

Comment
Add comment · Show 5
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 Priyanshu · Jan 11, 2015 at 05:17 PM 0
Share

I'm also new to Unity. Hence after reading your question. I started testing in Unity.

What i did was. I deleted the EventSystem object from hierarchy. And added seperate Event System and Standalone Input $$anonymous$$odule components to different panels. And assigned the desired Buttons( which we want first selected) from each panel to the Event System attached to them. On enabling those panels after disabling them. I was able to get my desired first selected buttons.

I don't know the repercussion of this method. But I hope it gets you somewhere started. Good Luck.

avatar image Elit3d · Jan 11, 2015 at 08:06 PM 0
Share

@Priyanshu I will try it

avatar image Elit3d · Jan 11, 2015 at 08:10 PM 0
Share

when doing this, i get an error http://gyazo.com/4307ae8e64d3760185096f7cc633a3f5

avatar image Priyanshu · Jan 11, 2015 at 08:59 PM 0
Share

Hmm maybe someone with better insight can help. I'll try to look it up tomorrow and try to understand 'First selected' thingy more :)

And btw you can directly upload image files here ins$$anonymous$$d of some other website. ![alt text][1]

ans.png (6.0 kB)
ans.png (6.0 kB)
avatar image Elit3d · Jan 11, 2015 at 10:47 PM 0
Share

alt text

4307ae8e64d3760185096f7cc633a3f5.png (3.5 kB)

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by BrotherWrong · Mar 11, 2017 at 07:55 AM

While this IS two years old, I had the same issue, with the same error message. Here is what worked for me: Instead of adding a EventSystem Gameobject add it the EventSystem as a component to each of your panels. You can add the first selected menu item then.

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 Paratrooper82 · Jan 25, 2018 at 11:47 PM 0
Share

When I do this it gives me an error saying you can only have one evensystem per scene. Is there any fix to that?

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

28 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

PointerEventData null reference expectation error 0 Answers

Problem with Graphic Raycast and using it with Xbox Controller 0 Answers

uUI - OnSelect: From Mouse/Pointer or Keyboard/Controller? 0 Answers

Is there a way to fire the inspector events from code? 0 Answers

Event System Not Working In UWP Build 2 Answers


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