void OnDisable() { GerstnerWavesJobs.Cleanup(); if (reflection) { reflection.enabled = false; } if (instance == this) { instance = null; } }