void OnDisable() { var deferAgent = GetComponent <IDeferAgent>(); if (deferAgent != null) { GltfImport.UnsetDefaultDeferAgent(deferAgent); } }
void OnDisable() { GltfImport.UnsetDefaultDeferAgent(m_DeferAgent); m_DeferAgent = null; }
void OnDisable() { var deferAgent = GetComponent <IDeferAgent>(); if (deferAgent != null) { GltfImport.UnsetDefaultDeferAgent(deferAgent); } }
void OnDisable() { GltfImport.UnsetDefaultDeferAgent(m_DeferAgent); m_DeferAgent = null; }