public void Dispose() { m_context.Dispose(); if (m_context.Root != null) { // Destroy the GameObject that became the basis of Prefab GameObject.DestroyImmediate(m_context.Root); } }
public void OnDestroy() { ctx.Dispose(); }
public void Dispose() { m_context.Dispose(); if (m_context.Root != null) { // Destroy the GameObject that became the basis of Prefab GameObject.DestroyImmediate(m_context.Root); } }
public void OnDestroy() { ctx.Dispose(); }