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