1 2 3 4 5 6 7 8 9
using UnityEngine; public class CopyOwnerGunStats : MonoBehaviour { private void Start() { ApplyCardStats.CopyGunStats(base.transform.root.GetComponent<SpawnedAttack>().spawner.GetComponent<WeaponHandler>().gun, GetComponent<Gun>()); } }