A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Check the PPU of the sprite (go to Project window -> Select the sprite -> Inspector -> Pixel per Unit and try set 1024
Need more information. It seems that you are using a GameObject with Sprite component to display that, what's the sprite pixel per unit? How...
Go to Project Settings -> Physics 2D -> and set Gravity Y = 0
If you instantiate a prefab and want to work on the clone you can't do that way because with that script you are still working on the prefab and...
https://answers.unity.com/questions/967170/detect-if-pointer-is-over-any-ui-element.html I had a similiar problem and fixed it by using the...
First of all it'd be better to check if OnTriggerEnter2D works correctly using Debug.log when the player hits the wall. Also assign the tag...
First of all i suggest you to follow a coding naming convention because you have some variables that uses a diffent style like "LastFirst" and...
I'd go for an array of colors, like this: Create an int variable starting from 0 "statusIndex" Create an array of colors "blockStatus" and from...
It depends on your type of game, saying only 2D isn't enough because there could be many ways to do that. For example you could use the UI button...
Don't attach the files, copy the code of the scripts using the code tag. Meanwhile try to check what's wrong. If OnTriggerEnter2D don't get called...
Hey, it passed a long time from this post. Anyway i had fixed it by using an older version of the google play service plugin if anyone needs
You should use the script formatting to paste your code, like this else if (Input.GetButtonUp("Jump")) { if (rb2d.velocity.y > 0) { rb2d.velocity...
When you set a collider to trigger it doesn't have a physical collision anymore. If you want the player to stand on the platform and after a time...
We can't understand much without more information (attached componenets, scripts, etc...) but i think your problem could be that you destroy the...
Imo that code is a bit messy. First of all don't use the RigidBody component inside Update(), use FixedUpdate(). Next thing i wouldn't do is using...
Hi guys, i want to start learning how to create multiplayer online videogame but got stuck immediatly. Let me explain first what is my objective:...
If i understood right what you need, you have to attach a canvas (render mode: world space) to your fish object. Take a look here (from chapter 4)...
set the ball rigidbody2d to kinematic. This way the ball will not move if collides with the player but only throught script...
Yeah i thought so but i wasn't 100% sure. Ty :)
Hi guys, i'm using a database to store player inventory items for my multiplayer game but now i have doubt. The question isn't directly referred...