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.
For me Reimport All and downgrade to vscode 1.1.3 on linux fixed issues on 2 projects.
DoNotDestroy [MEDIA] Singleton [MEDIA]
If anybody comes with similar issue, in my case problem was calling referenced object from Instantiated (Instance, DoNotDestroy) object....
The whole if (health == 250) {} executes only if health == 250 so if (health <= 250) will never be true. Move if (health <= 250){} outside if...
I stop my monsters by - disabling Animator: animator.enabled = false; - making it static: gameObject.GetComponent<Rigidbody2D>().bodyType =...
Each level one scene. Use as much prefabs as possible for easier modification of elements that are present in each scene. At beginning of...
If first gameobject (name) is something that has collider and overlaps with your bullet that is intended function. Define layers that interact...
[MEDIA]
If I understand correctly you character is moving to the right, but that is not important. Speed is vector (x,y) so whenever character collides...
Oh, topdown? Use @MelvMay solution or go into 3D and define gravity along Z axis in Project Settings?
I'm using bouncy physics material on my project and it is setup like this: - Floor: Box Collider 2D on Layer: Default (not Sorting Layer that is...
Also [MEDIA]
The principle is the same. Create physics material with low friction and attach it to every object that you want to slide on 2d surface gameobject...
OnCollisionEnter2D is called in exact frame that engine has detected for the first time overlap occurs between two colliders. If user manages to...
This one is odd. Gameobject works with OnPointerDown in Editor (when i hit play) as it should (using mouse). Without any change apk is generated...
On 2019.3.0f the issues is fixed.
I had issues when domains: cdp.cloud.unity3d.com config.uca.cloud.unity3d.com are blocked for some reason on LAN/WAN. Using Pi-hole with lots of...
Comment out: moved = true; in if (moved == false){...} If object moves as needed set moved=true somewhere else.
Anyone tried this on Arch or Manjaro?