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.
Ah, that new method of saving data escaped my notice. It does seem a lot more convenient, as it also provides undo functionality. The reference...
You need to tell Unity that you made changes to the object using the EditorUtility.SetDirty function. For example: public override void...
http://http.developer.nvidia.com/Cg/Cg_language.html
[ExecuteInEditMode] is an attribute (https://msdn.microsoft.com/en-us/library/z0w1kczw.aspx). Attributes can attach meta data many different...
You can project the direction of the ray onto the normal using Vector3.Project. Subtract the resulting vector from the ray direction to get the...
I don't know if the hashcode I suggested is all that good, which could cause it to be slower than the vector2 one. Note that normalized and...
One thing that stands out is that your GetHash function uses string concatenation, which causes serious memory thrashing. Do you need the...
If you swap a shader in the inspector, all variables that share the same name and type are copied over to the new shader. Replacement shaders work...
You can also hard-code the color into the shader if you want. There is no need to use a color variable if you know it has to become white.
The replacement camera will copy any values with the same name from the normal shader of the object to the replacement shader. If you do not want...
Bump mapping requires pixel shading, which is not possible in the fixed function pipeline. If you want bump-mapping, you will have to use a Cg shader.
I usually debug this kind of thing by drawing gizmos for the different points and vectors in my calculations (the default camera gizmos no longer...
This is possible by setting the Camera.projectionMatrix to a custom projection matrix. That property gives you full control over the projection...
Quaternion.LookRotation allows you to create a rotation from two vectors:...
Untested, just from the head: CT = T - C GC = C - G P = G + Vector3.Project(GC, CT) Q = P + CT
My advice is always: try to use composition before inheritance. Unity is based around object composition and a composition based solution usually...
Try moving the zombies without a character controller. Character controllers are quite expensive.
No, putting a script that controls a certain object on that particular object is good design. Messing up this good design just to save a few...
Here you can find a list of CG standard library functions: http://http.developer.nvidia.com/Cg/index_stdlib.html Saturate is a function that...
IEnumerator is a core mono feature. It is the technology that coroutines (functions with yield in it) are built upon. Unity's JavaScript tries to...