Example #1
0
 void Attack_Base()
 {
     if (pos > 25 || pos < 0)
     {
         if (myEnermy == true)
         {
             gm.EnermyBase_GetDamage(HP);
         }
         else if (myEnermy == false)
         {
             gm.MyBase_GetDamage(HP);
         }
     }
     Destroy(this.gameObject);
 }