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.
Are you sure the Camera2DFollow component is on your main Camera object?
Oh hell yes this is awesome. So glad you got this working with stencils!
You're setting the y value from the localScale. Why?
The problem is the second "ti += 6", in line 62. Remove that and it works!
Glad I could help! :)
You're welcome! Definitely post an update in here if you get it working :)
Unity's stencil example is pretty good. Near the bottom there are three shaders that interact with each other.
The only real way I can think of having totally fine grained control would be to set ZWrite Off on all the planets and stars and stuff. This way,...
My other idea would be to have the small object write to a stencil buffer when its in front, and then the big object would discard any pixels that...
Ah okay. My first thought is to have two separate shaders, one with ZTest Always (when checking the depth, the shader will always evaluate as if...
I'm still kind of confused. Is the orbiting object actually in front of the big star, or not? I don't really understand how the positioning is...
There's no information here to go on in terms of where the door ends up and why it's wrong. But just looking at the code, I don't understand why...
1. Set the object's rigidbody to isKinematic = true (or just don't give them rigidbodies) 2. spawnLocs[Random.Range(0, spawnLocs.Length)]
void Start() { Vectors v = new Vectors(); }
We're going to need a little more context. It would be helpful to see the code that actually enables the countdownTimer object from clicking the...
I could attempt to help, but I'm having a hard time visualizing what you're looking for. Might help to draw out a diagram or show some scene view...
Try adding another yield return new WaitForSeconds(0.5f); So: while (m_DrawingDialogue) { m_TextComponent.text += "_"; yield return new...
Your question is pretty unclear, so I'm not sure exactly how you want it to move. But at the very least I got the dragging working (I didn't do...
Hey Ellen, Have you tried setting the toy's collider to isTrigger = true until you need to click it? Also, what are you using for click event...
Can you attach the full script, and show us how it's setup in the hierarchy?