public void SetupWeaponConfig(GameObject gameObjectToAttachTo) { m_WeaponBehavior = AttachWeaponBehaviorTo(gameObjectToAttachTo); m_WeaponBehavior.SetWeaponConfig(this); m_WeaponBehavior.SetWeaponOwner(gameObjectToAttachTo); }
public void SetupWeaponConfig(GameObject gameObjectToAttachTo) { m_WeaponBehavior = AttachWeaponBehaviorTo(gameObjectToAttachTo); m_WeaponBehavior.SetWeaponConfig(this); m_WeaponBehavior.SetWeaponOwner(gameObjectToAttachTo); }