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.
This problem is simple when you think it through. What you want is the position of the cursor when you first click your mouse. We can call that...
Yes is this solid advice because when I went back and thought about the camera being a rectangle you can scale and translate, solving the problem...
Hello, Camera movement is just not my thing but I am trying to figure out how to create a smooth zoom-in and -out where the pointer is at (Ie.,...
So yeah, the name of the argument in `Move` is confusing but regardless of its name, its giving the delta position of the mouse. I've updated it...
Hello, I've created a pretty simple script using the new input system so that when the player clicks on the screen, the camera moves inversely in...
No. The points are in a container (called mapContainer) that has a really large size. The mapContainer is the child of a scroll rect so the user...
Building off my last question found here, I am trying to figure out how to calculate the anchors for a bunch of child game objects Game Objects to...
After playing around a bit, I understand that the issue is setting the anchors of the children. The question then, is if the location of the...
Hello, I'm hoping someone can solve a problem I am working through. Suppose I create a series of randomized point with the following function:...
So I realized that the float does keep the decimal values but Debug.Log() truncates the numbers when writing to the console.
Hi, I was wondering if there is a way to keep precise values while changing the pivot of a RectTransform. What I am trying to accomplish is...
I've definitely set the intensity in my code, but no such luck. When I create a 2D light via the hierarchy, the light is visible, but not when I...
Yes. Add using UnityEngine.Experimental.Rendering.Universal to the top of your script. Then you can access the Light2D class and all its...
Hi, So I am creating new Light2D components on a various GameObject via a script (because the GameObjects are generated procedurally). I've...
Hi all, My friend and I are two developers who are entering a 48-hour game jam next week (April 16-18th) and are looking for a 2D pixel or sprite...