- Home /
Locking cursor Issue - Flash
Hello.
I have locked cursor but it doesn't work in flash.
 if(Screen.lockCursor)
     gameObject.renderer.material.color = Color.red;
 else
 {
     gameObject.renderer.material.color = Color.blue;
     Screen.lockCursor = true;    
 }
Do u have any idea why it isn't working in flash,but works in unity editor?
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by RalphH · Jun 21, 2013 at 01:15 PM
Flash doesn't support a locked cursor in windowed mode.
Your answer
 
 
             Follow this Question
Related Questions
screen.lockcursor locks the cursor in wrong place 1 Answer
One Last GUI Question 1 Answer
Unity 3D Screen.lockCursor Problems 2 Answers
Lock the screen 1 Answer
Modifying the pause menu to have screen.lockcursor on at start 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                