private void ChangeGun() { if (Input.GetKeyDown(KeyCode.Alpha1)) { if (gunController.CurGun.Kind == GunProperty.GUN_KIND.NORMAL) { return; } gunController.ChangeGun(GunProperty.GUN_KIND.NORMAL); crossHair.ChangeGunType(GunProperty.GUN_KIND.NORMAL); } if (Input.GetKeyDown(KeyCode.Alpha2)) { if (gunController.CurGun.Kind == GunProperty.GUN_KIND.GRENADE) { return; } gunController.ChangeGun(GunProperty.GUN_KIND.GRENADE); crossHair.ChangeGunType(GunProperty.GUN_KIND.GRENADE); } if (Input.GetKeyDown(KeyCode.Alpha3)) { if (gunController.CurGun.Kind == GunProperty.GUN_KIND.SNIPE) { return; } gunController.ChangeGun(GunProperty.GUN_KIND.SNIPE); crossHair.ChangeGunType(GunProperty.GUN_KIND.SNIPE); } }