public void LoadData(Data data) { var playerInputData = (Data <bool, bool>)data; if (playerInputData.value0) { MeleeAttack.Enable(); } else { MeleeAttack.Disable(); } if (playerInputData.value1) { RangedAttack.Enable(); } else { RangedAttack.Disable(); } }
public void EnableRangedAttacking() { RangedAttack.Enable(); }
public void EnableMeleeAttacking() { MeleeAttack.Enable(); }
public void EnablePull() { Pull.Enable(); }
public void EnableDash() { Dash.Enable(); }