public override void OnAddedToContainer(MyComponentContainer container)
 {
     base.OnAddedToContainer(container);
     m_rifleGun = Entity as MyAutomaticRifleGun;
 }
Example #2
0
 public override void OnAddedToContainer(MyComponentContainer container)
 {
     base.OnAddedToContainer(container);
     m_rifleGun = Entity as MyAutomaticRifleGun;
 }
 public override void OnAddedToContainer()
 {
     base.OnAddedToContainer();
     m_rifleGun = Container.Entity as MyAutomaticRifleGun;
 }
Example #4
0
 public override void OnAddedToContainer()
 {
     base.OnAddedToContainer();
     this.m_rifleGun = base.Container.Entity as MyAutomaticRifleGun;
 }