Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Token: 0x06000326 RID: 806 RVA: 0x0001CA28 File Offset: 0x0001AC28
- private void GrabGun(GameObject gunObject)
- {
- this.gun = gunObject.GetComponent<ShotgunItem>();
- if (this.gun == null)
- {
- base.LogEnemyError("Gun in GrabGun function did not contain ShotgunItem component.");
- return;
- }
- this.gun.SetScrapValue(this.setShotgunScrapValue);
- this.gun.parentObject = this.gunPoint;
- this.gun.isHeldByEnemy = true;
- this.gun.grabbableToEnemies = false;
- this.gun.grabbable = false;
- this.gun.shellsLoaded = 2;
- this.gun.GrabItemFromEnemy(this);
- }
Advertisement
Add Comment
Please, Sign In to add comment