- Home /
 
               Question by 
               ExtremePowers · Dec 29, 2014 at 10:18 PM · 
                cameracamera-movementcomponentenabled  
              
 
              Component enabled problem
I have a problem with a component that I want to disable in given time periods, but when trying to disable it like this nothing happens even though the Debug line prints the right thing :)
         player.Find("Camera").GetComponent(Mouse).enabled = !ShowInventory;
         Debug.Log(player.Find("Camera").GetComponent(Mouse).enabled.ToString());
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How to enable sprite only when camera sees it? 0 Answers
Camera stutter when following a RigidBody2D 0 Answers
Smooth camera shift, Lerp? SmoothShift? 2 Answers
Camera gets stuck when cursor is locked 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                