Game Development Reference
In-Depth Information
alizer
in this class. This is because the
Finalize()
method is used to clean up
unmanagedresourcesintheobject.ItiscalledautomaticallybytheGarbageCollect-
or before it destroys the object. This allows it to clean up its unmanaged resources
before it is destroyed. As such, we do not need to implement this method since we
are only using managed code.