mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-12-24 11:23:06 +00:00
22 lines
418 B
C#
22 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);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
}
|