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.
@up edit: It seems that the problem dissapeared after giving it a 1 day off. Maybe it was because of PC restart, maybe because of Editor...
Hello everyone, I will start from the beginning. Im working on my Bachelor thesis - procedural map generation in Unity. Im making a simple game...
If someone else is having this problem for some reason, I worked around it by making the UI Image from scratch; by making an GameObject and adding...
Hey, I have this annoying problem that's driving me nuts and I cant find any solution to it. I want to Instantiate an UI Image prefab via script....
public float movespeed; you don't initialize this variable anywhere, so any try to move the object with this variable ends in no movement at all....
else { distance = maxdistance; //of course this dosnt do anything just a filler line //IN HERE } if...
@Kurt-Dekker thanks for all the informations!
@APSchmidt thanks for that, it's really helpfull
Hey there, I've been making some 2d game but i stumbled upon a problem I can't manage to solve. I want my game to be dark, and the only light...
Thanks for the reply! I actually thought about marking for example wall tiles with markers that says "torch can be put here" etc, but I was...
Hey, I've been recently having fun with some procedural map generator. So basically, im using 2d tilemap and tiles and I have the basis - I have a...
https://docs.unity3d.com/ScriptReference/Animation.Stop.html Or use methods from Animator to manipulate for example triggers responsible for...
I don't think there is an already build-in functionfor that, but here is what I've found:...
It certainly is a good idea from the optimization point of view to use coroutine instead of Update function. As to looking at the target, you can...
you can check the distance between enemy and player by Vector3.Distance(). https://docs.unity3d.com/ScriptReference/Vector3.Distance.html
I found the problem which im ashamed of - I was moving the mouses with a Vector2.MoveTowards() function, so it was changing the Y position aswell....
First, thanks for the answer! Spawner doesn't move - at the start the spawner itself is spawned in predefined place and it stays there all the...
Hey, I have a problem Instantiating an object every x seconds, because the objects spawns in a slightly different value every time. I'm using a...
Well, I recommend watching some tutorials on Unity or on programming generally. Don't expect to receive scripts just like that. It's really not...
Hey, thanks for the answer! I realize that in my case, 1script vs 2scripts will not make a difference, but Im looking at future here. What if it...