private IEnumerator Start()
        {
#if UNITY_EDITOR
            yield return(new WaitUntil(() => Ref != null));
#endif
            DynamicRefService.Register(this);
        }
 private void OnDestroy()
 {
     DynamicRefService.Unregister(this);
 }