Exemplo n.º 1
0
 public void OnClick(CCLayer p_Layer)
 {
     p_Layer.isTouchEnabled = false;
     p_Layer.addChild(ResultPeople);
     ResultPeople.Play((obj) =>
     {
         p_Layer.removeChild(ResultPeople, true);
         if (IsAnswer)
         {
             SceneController.RunScene(EnumScene.Question);
         }
         else
         {
             p_Layer.isTouchEnabled = true;
         }
     });
 }