public override void OnBreakon() { if (!isBroken) { Bomb(); } else { GridField.RemoveTile(this.ParentGrid); } }
virtual public void OnBreakon() { Debug.LogFormat("我是{0}块,我被毁掉了", GetGridType()); GridField.RemoveTile(this.ParentGrid); }