Skip to content

Commit b039931

Browse files
committed
Little explanation improved
1 parent a9138c7 commit b039931

15 files changed

Lines changed: 2 additions & 2 deletions

Assemblies/Lerp2API.dll

0 Bytes
Binary file not shown.

Assemblies/Lerp2APIEditor.dll

0 Bytes
Binary file not shown.

Build/Console/Lerp2Console.exe

0 Bytes
Binary file not shown.

Build/Console/Lerp2Console.pdb

0 Bytes
Binary file not shown.

Build/Editor/Lerp2APIEditor.dll

0 Bytes
Binary file not shown.

Build/Editor/Lerp2APIEditor.pdb

0 Bytes
Binary file not shown.

Build/Lerp2API.dll

0 Bytes
Binary file not shown.

Build/Lerp2API.pdb

0 Bytes
Binary file not shown.

Project/Hepers/Unity Extensions/Utils/AppReflection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private static object GetField(this object inObj, string fieldName, bool fromPro
5454
return inObj.GetType().GetProperty(fieldName).GetValue(inObj, null);
5555
else
5656
{
57-
Debug.LogError("Trying to search the desired value as a property also didn't worked. You haven't declared any variable with this name.");
57+
Debug.LogErrorFormat("Trying to search '{0}' as a property also didn't worked. You haven't declared any variable with this name.", fieldName);
5858
return null;
5959
}
6060
}
@@ -91,7 +91,7 @@ private static object GetProp(this object inObj, string propName, bool fromField
9191
return inObj.GetType().GetField(propName).GetValue(inObj);
9292
else
9393
{
94-
Debug.LogError("Trying to search the desired value as a field also didn't worked. You haven't declared any variable with this name.");
94+
Debug.LogErrorFormat("Trying to search '{0}' as a field also didn't worked. You haven't declared any variable with this name.", propName);
9595
return null;
9696
}
9797
}
Binary file not shown.

0 commit comments

Comments
 (0)