Merge pull request #578 from ousttrue/fix_CustomEdiroError

null check
This commit is contained in:
ousttrue 2020-10-12 17:05:47 +09:00 committed by GitHub
commit 16a418e12c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,10 @@ namespace VRM
private void OnEnable()
{
if (target == null)
{
return;
}
m_target = (VRMMetaObject)target;
m_Script = serializedObject.FindProperty("m_Script");