Question by 
               er-abhayranjan · Aug 05, 2016 at 07:34 AM · 
                c#unity 5  
              
 
              ##on touch change color of fbx model in Unity
i am beginner in unity. i want change my game object on touch. i am looking for C# script..pls help me
               Comment
              
 
               
              Answer by KuR5 · Aug 06, 2016 at 06:37 AM
Hi,
- Assign a material to that gameobject 
- Make script and use method named OnMouseDown 
- In that method, write the code for changing the color of model by accessing the property of material assigned in first step 
Your answer
 
 
             Follow this Question
Related Questions
I want to spawn objects probabilistically. 0 Answers
unity create scene from script and pass information between scenes 0 Answers
Random Generation (Dungeon) with improvements in mind. 0 Answers
How to use the results of a dice roll? 2 Answers
How do i Instantiate sub-Points with in Multiple Points?? 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                