Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Remove exception from valid case #69

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,15 @@ public static string GetPropertyParentList(string propertyPath)
return length < 0 ? null : propertyPath.Substring(0, length);
}

public static bool GetTypeFromManagedReferenceFullTypeName(string managedReferenceFullTypename, out Type managedReferenceInstanceType)
public static bool GetTypeFromManagedReferenceFullTypeName(string managedReferenceFullTypeName, out Type managedReferenceInstanceType)
{
if (managedReferenceFullTypename.IsNullOrEmpty())
if (managedReferenceFullTypeName.IsNullOrEmpty())
{
DebugUtility.LogException<ArgumentException>(nameof(managedReferenceFullTypename));
managedReferenceInstanceType = null;
return false;
}

var parts = managedReferenceFullTypename.Split(' ');
var parts = managedReferenceFullTypeName.Split(' ');
if (parts.Length == 2)
{
var assemblyPart = parts[0];
Expand Down
2 changes: 1 addition & 1 deletion Assets/BetterExtensions/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.uurha.betterextensions",
"displayName": "Better Extensions",
"version": "1.5.94",
"version": "1.5.95",
"unity": "2021.3",
"description": "Unity extensions, serialize extension, async extension, string extension and UI extensions",
"dependencies": {
Expand Down
Loading