mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-01-09 18:48:46 +08:00
Update ReflectionUtility.cs
This commit is contained in:
parent
2977fd4df5
commit
f080379e8a
@ -98,7 +98,7 @@ namespace UnityExplorer
|
||||
|
||||
// Getting the actual type of an object
|
||||
internal virtual Type Internal_GetActualType(object obj)
|
||||
=> obj.GetType();
|
||||
=> obj?.GetType();
|
||||
|
||||
// Force-casting an object to a type
|
||||
internal virtual object Internal_TryCast(object obj, Type castTo)
|
||||
|
Loading…
x
Reference in New Issue
Block a user