[Changed] NRE to Debug.Log

This commit is contained in:
Thimo de Ram 2022-03-13 17:28:19 +01:00 committed by Miika Lönnqvist
parent 46037ac590
commit a64ae84096

View File

@ -89,7 +89,8 @@ namespace UnityAtoms
{
if (AtomPreferences.IsDebugModeEnabled)
{
throw new NullReferenceException($"{atomEventReferenceUsage} reference is missing in inspector.");
Debug.Log($"{atomEventReferenceUsage} reference is missing in inspector.");
return null;
}
else
{