Quantcast
Channel: Answers for "c# one click and pauses the game and makes player jump"
Browsing latest articles
Browse All 6 View Live

Answer by pmurph03

Just making sure you're checking for the pause button click before the player movement. Otherwise it would jump first, and then pause, like what's happening.

View Article


Answer by TakisBeskos

they are on different scripts . on different gameobjects . how to do that ? EDIT: i've placed them on the same script , but the button is on void onGUI and movement is void update , it still jumps once...

View Article


Answer by Marcelo Colombo

The issue relies on TIME, it detects the jump (action input) first, and later detects the pause (pause input) on the UI element (pause button).. I fix this by checking a boolean variable before...

View Article
Browsing latest articles
Browse All 6 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>