public override void Configure(Unit reference) { base.Configure(reference); Component = Dependancy.Get <AudioSource>(gameObject); SFX = Dependancy.Get <SFXPlayer>(gameObject); }
public override void Configure(Projectile reference) { base.Configure(reference); player = GetComponent <SFXPlayer>(); }