void Dispose(bool disposing) { if (disposed) { return; } if (disposing) { Effect.Dispose(); Up.Dispose(); Down.Dispose(); Forward.Dispose(); Backward.Dispose(); Left.Dispose(); Right.Dispose(); } disposed = true; }