Increase Score When Moving Up (Script Help)
I have a script already and it works but it moves up way too fast and it moves up when just going up and not on an increment (ex:
= platform
--
-- 3, --
If moving from 3 to 1, I could just jump between 3 and 2 and the score would rapidly increase. I want it to go up per platform instead. Also, once the game starts, it automatically starts making the score negative...`using UnityEngine; using System.Collections;
public class Score : MonoBehaviour { %|1781920597_1|% %|573040171_2|%
%|876895427_3|% %|1250423434_4|%
%|1765374721_5|% %|233348866_6|% %|-370545286_7|% %|1565015250_8|% %|1864517976_9|%
%|-1638603090_10|% %|1964884180_11|% %|720907755_12|% %|1716919703_13|% score++;
%|-1231739958_15|%
%|-641501010_16|% %|-850341954_17|% %|517336329_18|% %|1873098325_19|%
%|156636085_20|% %|1722921110_21|% %|-1416318127_22|% %|-822119152_23|% } `