mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-30 15:59:09 +00:00
21 lines
418 B
C#
21 lines
418 B
C#
using UnityEngine;
|
|
using SanAndreasUnity.Importing.Animation;
|
|
|
|
namespace SanAndreasUnity.Behaviours.Weapons
|
|
{
|
|
|
|
public class Shotgun : Weapon
|
|
{
|
|
|
|
public override AnimId AimAnim {
|
|
get {
|
|
if (this.Data.gunData.AssocGroupId.EndsWith ("bad"))
|
|
return new AnimId (AnimGroup.Shotgun, AnimIndex.shotgun_fire_poor);
|
|
else
|
|
return new AnimId (AnimGroup.Shotgun, AnimIndex.shotgun_fire);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|