File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private static void InitializeTargetName() {
290290
try {
291291
TARGET_NAME = UnityEditor.iOS.Xcode.PBXProject.GetUnityTargetName();
292292
} catch (Exception exception) {
293-
Debug.Log("Failed: " + exception.ToString());
293+
Log("Failed: " + exception.ToString(), level: LogLevel.Error);
294294
if (exception is FileNotFoundException ||
295295
exception is TypeInitializationException ||
296296
exception is TargetInvocationException) {
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,9 @@ public FileMetadata this[long version] {
439439

440440
/// <summary>
441441
/// Determine whether the PluginImporter class is available in
442-
/// UnityEditor. Unity 4 does not have this class in which case we
443-
/// can't - without potentially dangerously - modify the .meta yaml
444-
/// files to enable / disable plugin targeting.
442+
/// UnityEditor. Unity 4 does not have the PluginImporter class so
443+
/// it's not possible to modify asset metadata without hacking the
444+
/// .meta yaml files directly to enable / disable plugin targeting.
445445
/// </summary>
446446
internal static bool PluginImporterAvailable {
447447
get {

0 commit comments

Comments
 (0)