示例#1
0
 public void OnPointerClick()
 {
     if (_attachment == Attachment.HandgunRedDot)
     {
         _storeController.BuyHandgunsRedDotSight();
     }
     else if (_attachment == Attachment.ShotgunScope)
     {
         _storeController.BuyShotgunsScope();
     }
     else if (_attachment == Attachment.MachinegunScope)
     {
         _storeController.BuyMachinegunScope();
     }
 }