Last active
August 29, 2015 14:04
-
-
Save zhixu/ece598286653b95d420d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public bool tapEvent(float x,float y) | |
{ | |
if(LAppDefine.DEBUG_LOG) Debug.Log("tapEvent view x:"+x+" y:"+y); | |
if(hitTest( "D_REF.HEAD",x, y )) | |
{ | |
startMotion("nod", 0, LAppDefine.PRIORITY_NORMAL); // display motion | |
Camera.main.GetComponent<GUIAnswers>().eliminateAnswer (); // eliminate answer | |
} | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment