Unity While Loop In Python