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 holman8er · Nov 02, 2011 at 03:12 PM · mouselockcenterset

Mouse Lock

I'm trying to set the texture of my mouse as a reticule and lock it in the center of the screen. This all works fine inside of Unity, however, it does not work in the actual builds I'm producing. For some reason, the reticule will not remain locked in the center of the screen. It just moves around the screen freely. Any ideas as to why I may be facing these inconsistencies? Any help would be greatly appreciated.

F.Y.I. I've previously asked a question about this at the following link, but didn't get any feedback.

http://answers.unity3d.com/questions/180833/mouse-cursor-lock.html

Comment
Add comment · Show 2
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 syclamoth · Nov 02, 2011 at 03:16 PM 0
Share

I'm afraid I'd have to see your script to be able to help you here. It's hard to guess what the problem is from something this vague! It could be caused by any number of things. (btw, that's probably also why you didn't get much help last time- your question does not have enough detail!)

avatar image holman8er · Nov 02, 2011 at 06:20 PM 0
Share

I'm actually using Playmaker visual scripting. I was hesitant to get into the specifics because it seems that there's a problem with the build itself, not so much the code. I say that because it works great in the editor, but is broken in the build. I can't really post the code since it's a visual editor, so I'm more less just looking for anybody whose had a similar problem of inconsistency between gameplay in the editor vs. gameplay in the builds. Thanks again!

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by john-essy · Nov 04, 2011 at 10:15 PM

When building for webplayer i know that for obvious reasons when you press of screen or press ESC the script will disable it's self

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Locking the mouse cursor without it centering after unlocking it? 0 Answers

how do i lock the mouse at center and lock it 1 Answer

Centering mouse when not used 0 Answers

Locking cursor/mouse on an object 1 Answer

Screen.lockCursor Acting Irregular 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