void SetPlatform(PlatformData data, PlatformData.Platform platform) { if (EditorUtility.DisplayDialog("Confirmation", "Switch target platform to " + platform.ToString() + "?", "Yes", "Cancel")) { data.SetPlatform(platform); } }
void SetPlatform(PlatformData data, PlatformData.Platform platform) { if (EditorUtility.DisplayDialog("Confirmation", "Switch target platform to " + platform.ToString() + "?", "Yes", "Cancel")) { data.SetPlatform(platform); } }