Method OnDestroy OnDestroy() Maintains the global vcam registry. Always call the base class implementation. Declaration protected virtual void OnDestroy()