Skip to content

Commit

Permalink
Merge pull request #15 from kou-yeung/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
kou-yeung authored May 23, 2019
2 parents 5d2a8ef + ab5fde7 commit 7ab81ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/WebGLSupport/WebGLInput/WebGLInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ static void OnBlur(int id)
static IEnumerator Blue(int id)
{
yield return null;
if (!instances.ContainsKey(id)) yield break;

var block = instances[id].blueBlock; // get blue block state
instances[id].blueBlock = false; // reset instalce block state
if (block) yield break; // if block. break it!!
Expand Down

0 comments on commit 7ab81ad

Please sign in to comment.