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.
Example: (this is not what I'm trying to do, but knowing how to do this will solve my problem) 1) I wanna have a folder named "background" in my...
EDIT: I'm sorry. I found a solution for my problem soon after posting this thread. The puzzle was solvable, and it was me who couldn't solve it...
I've made a 24 puzzle, and it's working okay apart from its initialization. [HideInInspector] public int empty; [HideInInspector] public...
That worked, thanks :) (had to add "System" to the used libraries 1-st tho) EDIT: Is there a way for me to assign the value to an int variable?...
When I try to run this code: public static bool IsSolvable<T>(T[] array){ int inversions = 0; for (int i = 1; i <...
The title is pretty self explaining. I want to know how to create my own events (like Unity's Start/Awake/Update/OnTriggerEnter, etc...).
Okay, that helped. I stopped using get/set in this struct, and only 1 error left: "Assets/Scripts/CameraScript.cs(14,11): error CS0119: Expression...
After removing the "= 0" I started getting other errors: "Field `Orientation.m_y' must be fully assigned before control leaves the constructor"...
Problem solved. Here is the working script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class...
I have few enums in my game, and I know that I can give them integer values: enum DamageType{ physical = 0, magic = 1, fire = 2, ........
There was a script called "RootMotionOff", which wasn't attached to anything, but when I commented everything in it - the model stopped moving on...
That worked! Thanks :)
I'm having a non-static class with some static elements. I have a static float array [6, 6], and I want to initialize it on awake, and then just...
It's unchecked, but when the models starts moving - it automatically checks itself. I checked the script and all I see is...
I downloaded a model from the Asset Store: https://www.assetstore.unity3d.com/en/#!/content/44041 But in the sample scene I noticed that the model...
I was getting 0 values too until I changed the sensitivity (in the input list) from 0 to 1.
I did what you said, but it didn't help. I even tried to move the Monodevelop folder inside the Unity folder, but still the same :( EDIT: okay, I...
Ever since I downloaded version 5.5.2 - the monodevelopment doesn't recognize Unity's libraries, and it's structs. [IMG] You can see how...