Browse Source

Updated Batch for newer versions of Unity3D web player

master
DESKTOP-D8AN5KL\Erick 7 years ago
parent
commit
3888eb0045
  1. 2
      Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/Batch.cs

2
Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/Batch.cs

@ -70,7 +70,7 @@ namespace UnityTest
port = port
};
if (Application.isWebPlayer)
if (Application.platform == RuntimePlatform.WebGLPlayer)
{
config.sendResultsOverNetwork = false;
Debug.Log("You can't use WebPlayer as active platform for running integration tests. Switching to Standalone");

Loading…
Cancel
Save