- Home /
 
               Question by 
               engineeroftheyear · May 22, 2015 at 12:33 PM · 
                inputtouchscriptingbasicstouchscreentouchphase  
              
 
              Touch inputs Angry-bird style
Hi,
I'm new to Unity5, and I want to know the best practices for creating touch functionalities to my 2D mobile game.
I'm trying to make an "Angry Birds" game, and I'll need to have 4 types of touch functionalities.
- Drag the bird 
- Click on object (the planks or the base to be destroyed) to view its life 
- Drag the camera 
- Two finger zoom on camera 
Basically, I'm trying to figure out the best way to do this. I want to disable the camera drag when its already dragging the bird, and i also want to be able to drag the camera EVEN if my TouchPhase.Begin starts by touching the plank.
I thought about routing the inputs from an InputController, is that a good choice?
Please help!
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                