Exemple #1
0
    void OnApplicationQuit()
    {
        if (regionHandler != null)
        {
            regionHandler.CloseAll();
        }

        if (this.worldGen != null)
        {
            this.worldGen.DestroyNativeMemory();
        }
    }
 void OnApplicationQuit()
 {
     regionHandler.CloseAll();
 }