public void Destroy() { IntPtr removedPtr = m_Ptr; SubsystemManager.RemoveIntegratedSubsystemByPtr(m_Ptr); SubsystemBindings.DestroySubsystem(removedPtr); m_Ptr = IntPtr.Zero; }
public void Destroy() { IntPtr ptr = this.m_Ptr; SubsystemManager.RemoveIntegratedSubsystemByPtr(this.m_Ptr); SubsystemBindings.DestroySubsystem(ptr); this.m_Ptr = IntPtr.Zero; }