Quantcast
Channel: Latest Questions by Pinsukka
Browsing all 13 articles
Browse latest View live
↧

Capturing Screenshots on Android

I am trying to capture screenshots on Android, they need to appear in the Android gallery. So far I have been able to use Application.CaptureScreenshot successfully to take screenshots, but it only...

View Article


Problems with LookAt (C#)

I have a problem with LookAt. I have some gameobjects (each have sprite renderer) and these gameobjects are childs of another gameobject. I need to make the sprites face towards the movement direction,...

View Article


Checking if all gameobjects in array are inactive

I need to check an array of gameobjects and do something once they all become inactive. The array is quite long so doing this... if(object[0].activeInHierarchy == false &&...

View Article

Pinch to zoom acting weird on Android

I watched an Unity tutorial recently on how to write pinch to zoom script in C#. I was able to make it work just as it is supposed to work on my Samsung Galaxy Tab S 10.5, but for some weird reason it...

View Article

How to prevent touch going through UI?

I have been reading about this problem a lot but it seems I just can't figure this out. The problem is that touch goes through my UI elements and activates buttons behind UI. I have tried using the...

View Article


How to get precise spawn interval (C#)?

Hello! I am having some problems I did not anticipate with my current enemy spawning system. I have a 2D game and I'm using a coroutine with WaitForSeconds as interval between enemy spawning. The...

View Article

Capturing Screenshots on Android

I am trying to capture screenshots on Android, they need to appear in the Android gallery. So far I have been able to use Application.CaptureScreenshot successfully to take screenshots, but it only...

View Article

Problems with LookAt (C#)

I have a problem with LookAt. I have some gameobjects (each have sprite renderer) and these gameobjects are childs of another gameobject. I need to make the sprites face towards the movement direction,...

View Article


Checking if all gameobjects in array are inactive

I need to check an array of gameobjects and do something once they all become inactive. The array is quite long so doing this... if(object[0].activeInHierarchy == false &&...

View Article


Pinch to zoom acting weird on Android

I watched an Unity tutorial recently on how to write pinch to zoom script in C#. I was able to make it work just as it is supposed to work on my Samsung Galaxy Tab S 10.5, but for some weird reason it...

View Article

How to prevent touch going through UI?

I have been reading about this problem a lot but it seems I just can't figure this out. The problem is that touch goes through my UI elements and activates buttons behind UI. I have tried using the...

View Article

How to get precise spawn interval (C#)?

Hello! I am having some problems I did not anticipate with my current enemy spawning system. I have a 2D game and I'm using a coroutine with WaitForSeconds as interval between enemy spawning. The...

View Article

How to move a 3D object to canvas object position?

I'm trying to figure out how to get my particle effect object positioned right on top of a canvas image object. I have been unable to find the answer, most people want to position a canvas object to 3D...

View Article

Browsing all 13 articles
Browse latest View live


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