예제 #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();
        }