Layer.destroy() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
forceDestruction? |
{bool} |
Yes |
{undefined}
Remove the internal information from the memory. If there are persistent instances bound to this Layer, they will be not be destroyed, unless the destruction is forced, but all Data Structures of this Layer will be always destroyed.