internal void Pop(BubblePopCategory category) { if (PopEffectGetter != null) { var obj = PopEffectGetter(); obj.transform.SetPositionAndRotation(transform.position, transform.rotation); obj.transform.localScale = transform.localScale; } ScoreTracker?.NotifyPop(category); if (category == BubblePopCategory.Hit && colorCode == BubbleColorCode.LevelUp) { ScoreTracker?.LevelUp(); } Destroy(gameObject); }