unity2d

How to build an apk file in Unity

Hi everyone, I'm new to Untiy. The problem is this... I want to make an apk file via Building Setting in Unity, but I don't have a Build button, I have Export instead.What to do, please tell me.

Random. Range () returns the same number. (unity/c#)

Why does Random.Range () return the same number? Each time it returns 0. Instantiate(Object[Random.Range(0, 1)], new Vector2(0, 0), Quaternion.identity);

How to make control for a 2D character in Unity on PC, without double jumping and with the player turning in different directions

How to make control for a 2D character in Unity on PC, without double jumping and with the player turning in different directions

How to make an Activer Ragdoll in a 2D game

I've been suffering for a month, I didn't want to bother anyone with my questions, but that's all... I made a regdoll, and wh ... is it possible somehow without it? P.S. parts of the regdoll do not fly apart in the plan, but it just does not go normally.

I want to change the character's sprite depending on the cursor position on the Unity 2D screen

I wanted to make sure that when you press and hold the right mouse button, the character changes its sprite to "ready to shoo ... t.rotation); fired_bullet.GetComponent<Rigidbody2D>().velocity = FirePoint.up * 100f; } } }

Not getting energy like TotM

I wanted to make energy like in the game TotM. If we do not know what this game is, then I will tell you briefly, We have ene ... , at the moment of contact of the colliders) It is taken away, but after the level is reloaded, it is not taken away anymore.

Unity5 2D Touch Check

So I'm doing a little puzzle. The essence is this - you need to put a square on a square to get a certain color. The problem ... rlap (contact) of these squares. Tried OnTriggerEnter2D, OnCollisionEnter2D, nothing works(the function code is not executed)