| Parameter | Description |
|---|---|
| target | The build target to get the Player directory for. |
| options | The build options for the Player. |
string The path to the Player directory for the specified build target.
Gets the path of the Player directory for a build target.
For example, Editor\Data\PlaybackEngines\AndroidPlayer. The path can depend on BuildOptions.Development. If the build target isn't supported, this overload logs an error.
| Parameter | Description |
|---|---|
| target | The build target to get the Player directory for. |
| options | The build options for the Player. |
| assertUnsupportedPlatforms | Set to true to log an error if the build target isn't supported. Set to false to return an empty string instead. |
string The path to the Player directory for the specified build target.
Gets the path of the Player directory for a build target, with the option to suppress errors for unsupported targets.
For example, Editor\Data\PlaybackEngines\AndroidPlayer. The path can depend on BuildOptions.Development.
| Parameter | Description |
|---|---|
| buildTargetGroup | The build target group that the build target belongs to. |
| target | The build target to get the Player directory for. |
| options | The build options for the Player. |
string The path to the Player directory for the specified build target.
Gets the path of the Player directory for a build target in a build target group.
For example, Editor\Data\PlaybackEngines\AndroidPlayer. The path can depend on BuildOptions.Development. If the build target isn't supported, this overload logs an error.
| Parameter | Description |
|---|---|
| buildTargetGroup | The build target group that the build target belongs to. |
| target | The build target to get the Player directory for. |
| options | The build options for the Player. |
| assertUnsupportedPlatforms | Set to true to log an error if the build target isn't supported. Set to false to return an empty string instead. |
string The path to the Player directory for the specified build target.
Gets the path of the Player directory for a build target in a build target group, with the option to suppress errors for unsupported targets.
For example, Editor\Data\PlaybackEngines\AndroidPlayer. The path can depend on BuildOptions.Development.