Redesigned bullet emitters

This commit is contained in:
MaddoScientisto 2025-03-14 23:04:59 +01:00
commit 7b24e47739
16 changed files with 306 additions and 28 deletions

View file

@ -16,6 +16,21 @@ public partial class StateSwitch : Switch
base._Ready();
CurrentState = StartingState;
switch (CurrentState)
{
case SwitchState.On:
TriggerEnable();
break;
case SwitchState.Off:
TriggerDisable();
break;
case SwitchState.Destroyed:
break;
case SwitchState.Disabled:
break;
}
}
public override bool Activate(ActivationType activationType = ActivationType.Toggle)