public void BuildTargetList()
{
List<BuildPlayerWindow.BuildPlatform> validPlatforms = BuildPlayerWindow.GetValidPlatforms();
this.m_PlatformSettings = new List<ProceduralPlatformSetting>();
this.m_PlatformSettings.Add(new ProceduralPlatformSetting(base.targets, "", BuildTarget.StandaloneWindows, null));
foreach (BuildPlayerWindow.BuildPlatform platform in validPlatforms)
{
this.m_PlatformSettings.Add(new ProceduralPlatformSetting(base.targets, platform.name, platform.DefaultTarget, platform.smallIcon));
}
}