private void SurferStateChanged(Surfer.State state) { if (state == Surfer.State.Up) { canMove = false; scaleTask.Start(); } if (state == Surfer.State.Idle && !canMove) { canMove = true; } }
private void SurferStateChanged(Surfer.State state) { if (state == Surfer.State.Up) { canMove = false; hideTask.Start(); } if (state == Surfer.State.Idle && !renderer.enabled) { canMove = true; renderer.enabled = true; } }