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 ArticleAnswer 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 ArticleAnswer 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 ArticleAnswer 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