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.
Hi, I am making a game for Android and have both Google FireBase and Google play plugins installed. Opening the project gives me this error. The...
If this code is being called every frame then yes - that is going to mean bullets are going be firing like crazy! Your best bet is to use a timer...
Have you tried just assigning AirHook to null? It's not complaining that AirHook is null. It's complaining it's never assigned to. Assigning it to...
When you are copying code - make a note of what you are changing. If you are just changing the variables used (polesA to polesB for example) then...
Wouldn't say it can't be broken. If the if statement becomes big and takes up a lot of width - or just out of personal preference - the 'x++' may...
This was a problem I faced when I was instantiating buttons in code and adding a listener. I created a separate function to add the listener and...
Hi, Once you have created a tree from the line Tree aPine = new Tree(x, y); you aren't doing anything with it. What do you want to do with the...
Yeah, the images aren't UI sprites. They are materials and I'm applying the texture to be used as the image. Unity never had a problem with this...
Hi, I've had a series of scrollview that contains a series of buttons with images. However since upgrading to 5.3.4 the buttons are not being...
Hi, I have created an AI agent using the NavAgent. I want this to follow a movable marker that is controlled by the player. Ideally, I want the...
An alternative way could be something like this: private float timer; private float updateRate=5f; // update every 5 seconds void Update() {...
You can't instantiate objects that inherit from MonoBehaviour - it will always return Null. You need to add it to the gameobject via the...
Set your attack animation to only play once. Then check in the Update function when the animation is finished and then switch it back to your...
I made a top down shooter some time back that required seemingly endless terrain. I think resizing a single terrain could hit performance if the...
Hmm, if they're both accessing the same static variable it should work fine. If the codes short, then yeah,post what you got :) BTW, convention...
I've got a similar setup. I have a grid of tiles that I want all classes to access. For example, each character in the game will need to access...
What's happening is, you are calling : go_UI = value, which is calling the 'set' property of go_UI -which, calls the set property of go_UI, which...
I use something like this to change an objects colour public static void ChangeMaterialColour(GameObject obj, Color colour) { foreach...
Hi, Try thiis: String input = "Part 1, part1a - Part 2, part2a"; String[] parts = input.Split(new String[] {" - "}, StringSplitOptions.None);...
Personally, I'd use a dictionary. like so: // Create the dictionary Dictionary<int, bool> levels = new Dictionary<int, bool>(); //Add to it...