i am beginner in unity. i want change my game object on touch.
i am looking for C# script…pls help me
1 Answer
1Hi,
-
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