public void MouseActive() { if (this.transform.parent.gameObject.activeSelf && !isAnimating) { if (type == EType.Boss) { gameEngine.AddBreakCount(type, this.gameObject); } else { RemoveAnim(true); } } }