public void DisposeScript() { if (m_instance == null) { return; } m_instance.Dispose(); m_instance = null; }