public void SetOnCenterChangedFunction(RecycleBackFunction callback) { if (callback == OnCenterChanged) { return; } OnCenterChanged = callback; }
void OnDestroy() { //if (OnCenterChanged != null) OnCenterChanged.Dispose(); OnCenterChanged = null; }