Hi,
In my game I am using a global variable for scoring named "Score". Everytime a collision event occurs "Score" should increase by 1. But when I run the game the variable gets set to random values everytime collision event occurs.
Attaching screenshot. Please help.