Command seam fixes: the player's switches, ping and stance flips are PilotCommand presses; triggers, switches and ping are internal
ActivatedBehavior replaces IActivatedBehavior so Activate/Deactivate can be internal under Unity's C# 9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
25750c225b
commit
bc05417450
14 changed files with 70 additions and 66 deletions
|
|
@ -198,7 +198,7 @@ public class ConstantWeapon : Weapon, IProgressBehavior, IEventBehavior, IPowerC
|
|||
return true;
|
||||
}
|
||||
|
||||
public override void Activate()
|
||||
internal override void Activate()
|
||||
{
|
||||
// A refused beam never starts (operator ruling 2026-09-30): OnStartFiring drives the beam's visuals and
|
||||
// audio, so starting it only for Execute to stop it a tick later would flash a beam that fires nothing.
|
||||
|
|
@ -209,7 +209,7 @@ public class ConstantWeapon : Weapon, IProgressBehavior, IEventBehavior, IPowerC
|
|||
}
|
||||
}
|
||||
|
||||
public override void Deactivate()
|
||||
internal override void Deactivate()
|
||||
{
|
||||
if (_firing)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue