"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Unity Stops Responding

why does unity stops responding when i use this code :

 

 

public void OnButtonPressed (VirtualButtonBehaviour vb){       while(vb.Pressed=true)          {             Debug.Log ("Testing");          } }