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.
You can create your own PoolEvents ; instance should be able to subscribe / unsubscribe to any event, they should be able to fire events from any...
Or you could use events.
Hey, I was wondering if it was a good idea to use "often" Layouts component (Layout Element, Layout Horizontal & Layout Vertical) when we build...
Instantiate returns the object instantiated. So you should keep a track of the returned value and use MoveBolt on the latter.
@novaVision: Actually, you can check "Best fit" ! The text size will depend on the container size.
I'm not worry about that. The thing is, I think I know how to do that with a script, but the issue will be the text. At one point, the text...
Okay, let's say you have a class named "Player" : this is your player. When it presses "Z", it calls "MoveForward()", when it presses S :...
AH. I have no idea how you can do that. And I'm not sure this is a good idea, you should put a limit to avoid this possibility. I think you'll...
Or you can have one script which handles every moves for a vehicle, let's say AVehicle and your player just have to get the component AVehicle...
I managed to have this result : [ATTACH] With these components: [ATTACH] [ATTACH] [ATTACH] Nothing special on Item > Image (just a...
When you check "Local Authority" on a GameObject, it is applied on the current gameObject and his children. So, you could change the vehicle's...
Hey. I'm trying to do a little game and I'm trying to do it with Unity 5.1. So my first goal is to create a Start Menu with a list of servers...
Why are you locking your code ? You should NEVER use Unity's components in another thread. BTW, you should use "FindObjectsOfType", store the...
Okay, found the issue.. There is a ContentSizeFitterEditor and it doesn't call DrawDefaultInspector. So it only shows what the script...
You can also inherit from UIBehaviour, your variables are going to be shown inside the Inspector. ContentSizeFitter inherits from UIBehaviour.....
Hey! I tried to do a script that extends some functions of an existing script but I'm currently blocked on something stupid and I have no idea...
In your script "LoadMap", once you have changed your button name, you should do something like this : button.onClick.AddListener(() =>...
Hey. So I have a simple script attached to different gameObjects. To manage this script, I have another script which adds a button in the...
Because you don't clear your list. So, every time you click on the button, you add the method "Attack()" to the list. The first time, you'll have...
Hi ! I'm trying to generate fog in a very large area (5120 x 5120). I tried to do that with particles with the "white smoke" particle from the...