Method OnDestroy NamespaceGamelogic.Grids2 AssemblyGamelogic.Grids2.dll OnDestroy() Called by the game engine. public void OnDestroy()