private void OnHideComplete() { OnDespawnEvent?.Invoke(this); moleViewInstance = null; Destroy(gameObject); }
private void Show() { moleViewInstance = Instantiate(moleViewPrefab, transform); moleViewInstance.Show(null); StartTimer(); }