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
|
|
@ -167,7 +167,7 @@ public class ChargedWeapon : InstantWeapon
|
|||
return base.Execute(dt);
|
||||
}
|
||||
|
||||
public override void Activate()
|
||||
internal override void Activate()
|
||||
{
|
||||
// CanFire also holds a weapon whose released charge has a burst pending: its cooldown starts at its first round,
|
||||
// so a charge started before then would overlap it.
|
||||
|
|
@ -180,7 +180,7 @@ public class ChargedWeapon : InstantWeapon
|
|||
}
|
||||
}
|
||||
|
||||
public override void Deactivate()
|
||||
internal override void Deactivate()
|
||||
{
|
||||
if (_charging)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue