mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Redesigned bullet emitters
This commit is contained in:
parent
ed87163b2f
commit
7b24e47739
16 changed files with 306 additions and 28 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue