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.
I have a UI element as a prefab that I want to instantiate within another UI element. Both objects are UI images. This code is attached to the...
Ok, I don't know why the above code was not working, but I found an alternate way to do it and it's working perfectly. Here's the code in case...
No, maybe I didn't express myself correctly, but I'm just trying to move the camera. All other game objects should stay in the same world...
I'm trying to move the camera by clicking & dragging. I have found several scripts to do this, but none of them give me the exact result I want....
Sorry if this is a silly question... I know the canvas takes the size of the game window, and that is perfect. It is exactly what I need. My...
I'm sorry for necroing, but I have this exact problem and I cannot find a solution. Tutorials seem to be for older versions of Unity and the...
Your suggestions were awesome, I've been tweaking the pathfinding algorithm a lot. - Removed the fixed wayponts and created nodes automatically on...
So I'm starting to look into different ways of handling multiplayer. I started with this basic tutorial:...
Finally I found it: NetworkManager.Singleton.GetComponent<UNetTransport>().ConnectAddress = "192.168.1.100";...
Sorry for the late answer. Your ideas seem interesting, I will definitely throw some of that into my code. Just in case anyone else is dealing...
I'm trying to change the Connect Address and Connect Port properties of the NetworkManager from a script, but I can't find any properties or...
I have a 2D scene, which is supposed to be a theme park, so there are very wide paths for people to walk on. I've successfully implemented an A*...
When using a seed you should only use Random number once (to get the seed) after that, all level generation calculations should be made based on...
Basically, get rid of randSpawnPoint and use the subindexes of the spawn points. Simple way: Pooler.Spawn(enemyPrefabs[0],...
Your background position should only depend on the camera position, not the player. Also, it should not depend on the speed. It is only a direct...
I am creating a network of nodes to be used by NPC pathfinding. Each node is a Vector2, and then I have an array of connectios between nodes. I...
Well, first you should explain what is happening to it. But I will try to answer anyway. This line is probably wrong: if(currentHealth = 0) The...