예제 #1
0
        public void Destroy()
        {
            IntPtr removedPtr = m_Ptr;

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

            SubsystemManager.RemoveIntegratedSubsystemByPtr(this.m_Ptr);
            SubsystemBindings.DestroySubsystem(ptr);
            this.m_Ptr = IntPtr.Zero;
        }