mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-02 19:52:51 +08:00
chore: fix harmless use-after-destroy warning in Activator
This commit is contained in:
parent
9d63ca60e4
commit
2bea35b9df
@ -58,6 +58,8 @@ namespace nadena.dev.modular_avatar.core
|
|||||||
{
|
{
|
||||||
EditorApplication.delayCall += () =>
|
EditorApplication.delayCall += () =>
|
||||||
{
|
{
|
||||||
|
if (this == null) return;
|
||||||
|
|
||||||
gameObject.hideFlags = HideFlags.HideInHierarchy;
|
gameObject.hideFlags = HideFlags.HideInHierarchy;
|
||||||
if (!HasMAComponentsInScene())
|
if (!HasMAComponentsInScene())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user