Quantcast
Channel: Latest Questions on Unity Answers
Browsing all 171066 articles
Browse latest View live
↧

Built-in Shaders Problem on 4.0.1f2 - They don't appear!!!

Hi guys! I in a lot of trouble here. I update my unity to 4.0.1f2 today and after that I can't find the default shaders anymore. When I try to change the material shader from diffuse -> specular I...

View Article


How do I get my build to work on the second launch?

Ok so I press build and run and my build works fine. Then I try launching it again from where I saved it and I run into a problem. I have an application called phantomjs that I put into my project...

View Article


Particle System Scripting help

I'm scripting a scene in Unity where on exiting a trigger a particle system will activate. The problem is that in my script I use "`particleSystem.Play = true;`" (this is C#)which is what I'm told to...

View Article

Curved + Diffuse Shader???

hi... i dont know how to work with shader, i would like your help to Join this 2 shaders, please **CURVED (Vertex Shader)** Shader "Curved" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {}...

View Article

Generic list length?

if I convert mesh.vertices of 4000 vertices to a Genericlist "vertexlist", and I ask for the vertexlist.Count and the vertexlist.Capacity, it tells me 65530. How can I get the length of the generic...

View Article


Simple Arrow pointing to my enemy.

Hello everyone, i have a 3d arrow in my game and i want it to be pointing to my enemy all the time. Initially i was using a simple lookat(enemy) in a script applied to my arrow, but instead of rotating...

View Article

Using Mechanim for FP Animation - Help

I'm finally making progress on my First Person game, but now I need to know how to use Mechanim for FP animations. I have an "Idle" animation set up as the default animation on my Right Hand in...

View Article

Setting up text and images on the surface of a plane?

Is there way to arrange text and images so that they appear perfectly flat on a plane in 3D space? I have some billboard like objects that I want to animate as the camera passes by them. Also, are the...

View Article


Acceleration and Delta Time

Hello everyone! I have a script called MovementMotor which control's character movement. I've multiplied the final speed by Time.deltaTime so movement speed is framerate independent. However, the...

View Article


Instantiate problem.

I just want ONE object to be created at a spot but it just creates them endlessly, even made unity crash. :D using UnityEngine; using System.Collections; public class Spawning : MonoBehaviour { public...

View Article

double player instantiated for nonview players

I posted this in the forum but this I think gets a quicker feedback sooo: So I am using the old M2H tutorial script from way back when and they Network.Instantiate the characters through a for loop:...

View Article

how to delete specific animation curve on import

Hello, I would like to remove all curves controlling scale from my imported animation. I do like to keep rotation etc. but I want to do the scaling myself on the fly (which currently gets overwritten)....

View Article

destroy gameObject

I want is an enemy to shoot you (the pleyer) and if you disprara 6 veses kill you, and if the player shoots the enemy dies ..... which is the script, I'm new to this: (

View Article


Best Way to Create Pile of Gold Coins

I currently have a single gold coin modeled, imported into Unity, and made it a prefab. Now I also want to make a pile of gold coins with the same coin so I can make something like a treasure room....

View Article

Mouse Click to Move and Mesh Colliders

Hey all - I have a character using the locomotion system (I haven't moved over to Mecanim yet) and I have him walking around with a mouse to click script (I was having issues with the Locomotion...

View Article


Samsung Galaxy S Problem

I am making a new game. It works find on my Galaxy Note 2. I load it on my Galaxy S (original) and it doesn't get past the Unity splash screen. I just get a blank screen and nothing more. It is a...

View Article

How to set animator's controller in script?

How to set animator's controller in script?

View Article


HELP PLEASE

Getting **MANY** Errors!!! Here they are! BCE0022: Cannot convert 'int' to 'System.Type'. The type 'UnityEngine.Rect' does not have a visible constructor that matches the argument list '(float,...

View Article

Access game classes from within Editor extension?

Hello everyone, I'm currently working on an Editor extension for Unity, and therefore the classes I'm working with reside in the "Editor" folder. I now need to access classes from the actual project...

View Article

Unity Pro Shadows

Dear Unity Community I have been working on my project in unity pro and have stumbled across a problem. I added in a directional light, turned on Hard shadows but no shadows will show up. I have the...

View Article
Browsing all 171066 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>