Commit 2beec70b authored by HaTrungVI's avatar HaTrungVI

no message

parent 7ec78a31
......@@ -246,6 +246,8 @@ public class Controller : MonoBehaviour
}
break;
case TouchPhase.Ended:
if (Interface.instance.timeTouch == 0f)
{
float currentTime = Time.time;
if (currentTime - timeTouch < 0.15f)
{
......@@ -293,6 +295,7 @@ public class Controller : MonoBehaviour
}
Debug.Log("Touch Phase Ended.");
attacking = false;
}
break;
}
Laser_Weapon_Add();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment