public override void PreUpdate() { if (HasSymbiote && CurrentSymbiote.IsActive) { CurrentSymbiote?.UpdateTransformationStats(player); } }
public override void ProcessTriggers(TriggersSet triggersSet) { if (HasSymbiote) { if (SModInput.ActivateSymbiote.JustPressed) { CurrentSymbiote.IsActive = !CurrentSymbiote.IsActive; CurrentSymbiote.OnTransform(player); } } }
public override void PostUpdate() { if (HasSymbiote && CurrentSymbiote.IsActive) { CurrentSymbiote?.UpdateTransformationStats(player); } if (HasSymbiote && SymbioteState != null) { SymbioteState.UpdateAnimation(); } }
public override void ResetEffects() { BlockControls = false; if (HasSymbiote && CurrentSymbiote.IsActive) { if (SymbioteState != null) { SymbioteState.UpdateState(player); } CurrentSymbiote?.ResetTransformationEffects(player); } }