hi everyone in my game I want to drag the object only in x axis direction how to do that I am new to unity
You can start by checking Unity tutorials and documentation
https://docs.unity3d.com/ScriptReference/EventSystems.EventTrigger.OnDrag.html
hi everyone in my game I want to drag the object only in x axis direction how to do that I am new to unity
You can start by checking Unity tutorials and documentation
https://docs.unity3d.com/ScriptReference/EventSystems.EventTrigger.OnDrag.html