uhm, it’s because your c++ code is wrong.
void AMainCharacter::SetRecharge(FCommand* NCommand, const float Time)
{
NCommand.currentRechargeTime = Time;
}
void AMainCharacter::SetTotalRecharge(FCommand* NCommand, const float Time)
{
NCommand.maxRechargeTime = Time;
}
Should work.
Cheers.
e/ Oh, 2015, nevermind.