示例#1
0
        private void OnHideComplete()
        {
            OnDespawnEvent?.Invoke(this);

            moleViewInstance = null;
            Destroy(gameObject);
        }
示例#2
0
        private void Show()
        {
            moleViewInstance = Instantiate(moleViewPrefab, transform);
            moleViewInstance.Show(null);

            StartTimer();
        }