Good evening.

I am making BattleEnd event.

When I met the condition that pushed the button to see Unity Ad Video with a battle end screen, I want to double money by this battle.

Therefore when I meet a condition, at the time of the battle end, I double a variable in BattleEnd Event with current data of stacked gain as a variable and want to make it correct gain.

I do not seem to be able to do it in Event Node.
how can I access it from script?

like this image...

if(BonusCheckFlag == true){
int StackedCurrency = ORK.game.CurentStackedBattleGainCurrency;
StackedCurrency *= 2;
//ORK.game.CurentStackedBattleGainCurrency = StackedCurrency; // or this process will execute [Add Loot] step in BattleEnd.this is image.

}
Sign In or Register to comment.