void OnDestroy() { //Clean up things and release recources!!!! //Otherwise our callbacks can still respond even if our GameObject with this script is destroyed/removed from the scene oscTarget1.Dispose(); oscTarget1 = null; oscTarget2.Dispose(); oscTarget2 = null; oscTarget3.Dispose(); oscTarget3 = null; oscTarget4.Dispose(); oscTarget4 = null; oscTarget5.Dispose(); oscTarget5 = null; }