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

            GridField.RemoveTile(this.ParentGrid);
        }