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 TheDeveloper · Nov 24, 2012 at 09:12 AM · c#macrts

Disable Mac OSX 'Active Screen Corners'

Hey everyone, I am developing a Real Time Strategy. Is there anyway to disable the Active Screen Corners in mac, so when players go to scroll across the map diagonally, the inbuilt function of the mac doesn't open their 'Dashboard' or 'All Windows' function. Would it be possible to create a C++ plugin to complete this task?

Thank you,

TheDeveloper.

P.S. Could any code snippets be (preferably) in C#. JavaScript is fine, but I would prefer C#.

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by LukaKotar · Nov 24, 2012 at 09:39 AM

Try setting 'Full-Screen Options' to 'Capture Display'. I am not sure how you could do this in windowed mode, though. And also, if you have issues with Full-Screen with 'Capture Display' setting (I certainly do), you would have to set the resolution when the game starts.

 //To set the current resolution again (only when started in Full-Screen)
 void Start () {
 if(Screen.fullScreen){
 Screen.SetResolution(Screen.width,Screen.height,true);
 }
 }
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
avatar image
0

Answer by TheDeveloper · Nov 24, 2012 at 09:56 AM

Thank you a lot for the answer, 10 seconds before I read this post which is 15 seconds ago as I write this, I thought I might try that... It works perfectly! I feel a tiny bit STUPID! Thank you a lot though! Hopefully this will help other people! Thanks!

Comment
Add comment · Show 5 · 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 LukaKotar · Nov 24, 2012 at 09:58 AM 0
Share

Glad it helped, but next time, you should consider saying 'thanks' in a comment ins$$anonymous$$d of an answer. ;) Just a tip.

avatar image TheDeveloper · Nov 24, 2012 at 10:01 AM 0
Share

Haha, first time actually using UnityAnswers, as you can probably guess. :)

avatar image LukaKotar · Nov 24, 2012 at 10:08 AM 1
Share

Welcome to the site :) Pretty good question for your first question ;)

avatar image TheDeveloper · Nov 24, 2012 at 10:15 AM 0
Share

I'm not a complete 'noob' to Unity. :)

avatar image LukaKotar · Nov 24, 2012 at 10:18 AM 1
Share

That's good :) But I think we'll have to stop replying to each other now, as this is not a chatting page ;) Have a nice day

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

11 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

Related Questions

Looking for a editor with a charcoal theme? 2 Answers

Distribute terrain in zones 3 Answers

Problem with inheritance and access between scripts. 1 Answer

Multiple Cars not working 1 Answer

My unit won't stop moving (RTS) 0 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