|
|
@ -109,8 +109,10 @@ namespace UnityTest.IntegrationTests |
|
|
|
{ |
|
|
|
{ |
|
|
|
case BuildTargetGroup.Android: |
|
|
|
case BuildTargetGroup.Android: |
|
|
|
return BuildTarget.Android; |
|
|
|
return BuildTarget.Android; |
|
|
|
|
|
|
|
#if !UNITY_5_4_OR_NEWER |
|
|
|
case BuildTargetGroup.WebPlayer: |
|
|
|
case BuildTargetGroup.WebPlayer: |
|
|
|
return BuildTarget.WebPlayer; |
|
|
|
return BuildTarget.WebPlayer; |
|
|
|
|
|
|
|
#endif |
|
|
|
default: |
|
|
|
default: |
|
|
|
{ |
|
|
|
{ |
|
|
|
switch (Application.platform) |
|
|
|
switch (Application.platform) |
|
|
@ -122,7 +124,11 @@ namespace UnityTest.IntegrationTests |
|
|
|
case RuntimePlatform.LinuxPlayer: |
|
|
|
case RuntimePlatform.LinuxPlayer: |
|
|
|
return BuildTarget.StandaloneLinux; |
|
|
|
return BuildTarget.StandaloneLinux; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#if UNITY_5_4_OR_NEWER |
|
|
|
|
|
|
|
return BuildTarget.WebGL; |
|
|
|
|
|
|
|
#else |
|
|
|
return BuildTarget.WebPlayer; |
|
|
|
return BuildTarget.WebPlayer; |
|
|
|
|
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|