Exemplo n.º 1
0
 public void OnDrop()
 {
     if (dropArmor)
     {
         Instantiate(dropArmor,
                     LandHelper.ChooseLand(transform.position, new Rect(-1, -2, 2, 3)), transform.rotation);
     }
 }
Exemplo n.º 2
0
 public override void OnDrop()
 {
     if (dropWeapon)
     {
         Instantiate(dropWeapon, LandHelper.ChooseLand(transform.position, new Rect(-1, -2, 2, 3)),
                     transform.rotation);
     }
 }