diff options
Diffstat (limited to 'GameCode/CopyOwnerGunStats.cs')
-rw-r--r-- | GameCode/CopyOwnerGunStats.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/GameCode/CopyOwnerGunStats.cs b/GameCode/CopyOwnerGunStats.cs new file mode 100644 index 0000000..d9497a1 --- /dev/null +++ b/GameCode/CopyOwnerGunStats.cs @@ -0,0 +1,9 @@ +using UnityEngine; + +public class CopyOwnerGunStats : MonoBehaviour +{ + private void Start() + { + ApplyCardStats.CopyGunStats(base.transform.root.GetComponent<SpawnedAttack>().spawner.GetComponent<WeaponHandler>().gun, GetComponent<Gun>()); + } +} |