This version of Unity is unsupported.

QualitySettings.TryExcludePlatformAt

Switch to Manual

Declaration

public static bool TryExcludePlatformAt(string buildTargetGroupName, int index, out Exception error);

Parameters

buildTargetGroupName The platform name.
index The index of the Quality Level, must be positive and lower than the count of Quality Levels.
error The error raised by the API.

Returns

bool True if no errors were found.

Description

[Editor Only] Excludes a platfor for the given Quality Level.