error CS0117: `Time' does not contain a definition for `deltaTime'
when I created an other object with the name Time it gave me these errors: error CS0117: `Time' does not contain a definition for `deltaTime' first it worked. but after that I couldn't get it working...
View ArticleHelp for unity bootcamp
Help guys i dont know how to fix this. Im using unity 4 and i downloaded the bootcamp demo but i got some errors. The errors are: Assets/Scripts/cutscenes/StartCutscene.js(20,40): BCE0018: The name...
View Articlestop animations when an other animation is playing
guys please help , i have a parent(idle and walk animation) and a child(attack animation) object , they're both the same model , what i want to do is to hide the parent(idle,walk) when the child(attack...
View ArticleUnitySerializer wait until deserialized
Hi all! I am using the Unity Serializer asset and am running into a small issue... I have when a base scene is launched, it loads the last level. This works fine, but I need to call a function after...
View ArticleEmbed GL drawings in NGUI Panel?
My goal is draw a Curve Chart. low level GL can draw the lines but fonts; use NGUI can make the coodirate unit drawing done. so i want to embed the gl drawings into the NGUI Panel (or make the gl...
View Articleno water refraction
I have added water into my scene and then I also added a point light underneath the water but the point light isn't visible neither is the bottom of the pool. I think this is a problem with the water's...
View ArticlePlay animation when hit by raycast
So i have my zombi walking to you but it doesnt react when you shot it, i have an animation for my zombie to make it jerk back when shot. But i dont know how to make the zombie play an animation when...
View Articlemove a gameobject in steps according to list of times
I have two lists, one with times and another with positions they look like this: times: 0.02, 0.07, 1.32 positions: (0,0,0),(1,0,2),(2,0,3) How would you go about moving a gameobject from position to...
View Articlei have 2 question (menu and autosave ...)
i have 2 question .... **first:** how to create a menu without new scane? I use loadlevel mode, but I saw a lot of games, if I go into the button, the music does not restart, the music continues ......
View ArticleNeed help w/ FBXImporter options
I'm following a book called Unity 3.x Game Development Essentials by Will Goldstone and I got to the part where it's telling me what options I need to change when importing a new model, but only two of...
View ArticleSet forward vector of an object to be EXACTLY equal to another vector.
I have been racking my brain over this for a couple hours now but I can't figure this out. I have a spotlight object. This spotlight has a special shader and texture on it to give it the spotlight cone...
View ArticleUV texture from blender not fully showing.
I have imported a UV texture from blender to unity, and applied the texture to the mesh. The model only has the base color of the UV texture and not all the extra details, like the markings (its an...
View Articlehow to enter another request from www with c#
after 2-3 days struggling I started to go force through wall if I can't do it normal way and at last I'm getting little success after 2-3 days I stoped thinking this way [how to send email with C#][1]...
View ArticleChanging Raycast origin upwards (offset)
Hello, I have an annoying problem and I seached everywhre but couldn't find the solution. I need t ochange the origin point of a raycast, I defined localOffset for it and I did exactly like all...
View ArticleHow to get smooth rotation input from gamepad thumb-stick?
I am trying to write a input script for a twin-stick shooter that takes input from a gamepad on PC or Mac. When I rotate the thumb-stick 360 degrees the input returned rotates smoothly except at the...
View ArticleProblem caused by "Debug.Log();" and/or "print();"...?
I have a problem with the commands specified above... I was trying to make a simulation in which the colors of some objects depended on distances. All these distances were split into two ArrayLists but...
View Articlei have a problem with my camera
i have a problem with my camera. when i press play, my camera just goes up and i see the project just getting smaller, how can i make it to stay still?
View ArticleHow do I make an Ai shoot every 3 seconds?
I'm working on a game with a friend and I'm having trouble making the Ai shoot every 3 seconds. The code now makes the AI shoot when the Player's Ships are in range. using UnityEngine; using...
View ArticleLoad mp3 from Harddrive on PC (again)
Hi, Wea are currently evaluating Unity to find out whether we can use it (free or pro license) to create our game. While the initial tests all worked out well, we have encountered a problem: There...
View Article