示例#1
0
 public override void UpdateGun()
 {
     base.UpdateGun();
     _originalBehaviour = gun.ShootBehaviour;
     gun.ShootBehaviour = newBehaviour;
     newBehaviour.Init();
     Debug.Log("Triple Shot BBY!");
 }
示例#2
0
 public override void RemovePart()
 {
     base.RemovePart();
     gun.ShootBehaviour = _originalBehaviour;
     _originalBehaviour.Init();
 }