Quantcast
Browsing all 4 articles
Browse latest View live

Answer by Zargo

You could easily just add in an else statement, to check if the player is in the ship or not. Something like: void OnTriggerStay2D(Collider2D col) { if (Input.GetButtonDown ("Fire1")) { if...

View Article


Answer by MetalStorm80

Using an else statement it would work the first time but then have the original issue the second time. The way I solved it was to make a bool that you set to try when it was changed and then change it...

View Article


Answer by Zargo

You could easily just add in an else statement, to check if the player is in the ship or not. Something like: void OnTriggerStay2D(Collider2D col) { if (Input.GetButtonDown ("Fire1")) { if...

View Article

Answer by MetalStorm80

Using an else statement it would work the first time but then have the original issue the second time. The way I solved it was to make a bool that you set to try when it was changed and then change it...

View Article
Browsing all 4 articles
Browse latest View live


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