Script unattached to Object will not compile
I feel like I've hit a catch twenty two: I am creating a sound script that will instance a whirring noise only when a turret is moving to line up with it's target. I have two scripts that accomplish...
View ArticleHow to make simple crafting system?
like item A + B = print c some thing simple like that? -
View Articlehave error on my database script
i have some trouble on my program it error "NullReferenceException: Object reference not set to an instance of an object MapLock_Chapter1.Start () (at Assets/Script/MapLock_Chapter1.js:28)" this is my...
View ArticleAccess variable in another script beginner
I am currently learning the concepts of unity.. so sorry if i have asked you something wrong. But i want to make my concepts clear. In my case i have one script in that i am instantiating bulletprefab...
View ArticleHow to make projector shaders override each other?
Hi again. I asked a question previously [here][1], where @Fattie directed me to trying out lights to solve my problem. I didn't figure out how to do it, but I got really close to what I want using...
View ArticleiOS splash orientation flip bug
When I build&run my iPad app the splash screen initially appears as it should (landscape right) from what I specified in the player settings. As the app loads for some reason the splash screen...
View ArticleGUI Menu won't show after starting the game
Okay, so i made gui menu with a few buttons (play game, options, etc...) and now, i go to Build and i choose the game and the menu, but seems when i tick both only the game appears, if you know what i...
View ArticleAccessing Booleans from other scripts
Hi im trying to get the hang of changing bools and ints from other scripts. in my case im just trying to change the selected to either 1 or 0. The grid highlight script is attached to multiple cubes...
View ArticleChange Texture of Plane with script
Hi everyone, i need change texture of plane with script, i have a empty plane and i want add an image as texture, this will be dynamically ... thanks
View ArticleChange Texture of Plane with script
Hi everyone, i need change texture of plane with script, i have a empty plane and i want add an image as texture, this will be dynamically ... thanks
View ArticleHow do I fix the following error?
Here is my errorMissingMethodException: Method not found: 'UnityEngine.GUI.Label'. Boo.Lang.Runtime.DynamicDispatching.MethodDispatcherFactory.ProduceExtensionDispatcher ()...
View ArticleObject To Position Sliding
I am using a fairly simple script to jump the top part of an object to the bottom part (body to legs, in this example) #pragma strict var object1 : GameObject; var object2 : GameObject; function Start...
View ArticleNeed advice on custom finger gesture recognition
hi, im fairly new to unity and need some advice. I am creating a program where I need the to create custom finger gestures. I looked at fingergestures in the asset store, however it seems to be for...
View ArticleAsset in commercial non-Unity app
Am I permitted to use an asset I purchased in the unity asset store (such as a 3d model) in a commercial non-unity app?
View ArticleUnity 4.1 Movie Texture issue
Have anyone else have a problem with the Movie Texture after updating to Unity 4.1? It works fine when I made a build on my computer. However when I test it on someone else computer the Audio echos and...
View ArticleHow can I find the line number in flash build error (simple)?
I'm using the 3.5 flash demo to see if I should buy the flash plugin for Unity 4. I get errors like:` Copy\Temp\StagingArea\Data\ConvertedDotNetCode\global\WeaponSelectScreen.as(608): col: 242 Warning:...
View ArticleDrawing lines/simple figures in an editorWindow
This has been asked before both on the forum and on answers but not one consistent answer came up. What is the "correct" way to draw lines/simple figures in a seperate editor window? One returning...
View Articlethe useage of the ampersat in javascript
I am learning javascript/unity and have just now come across @MenuItem and was wondering if the @ has a particular meaning in javascript or if its just something specific and internal to Unity itself?...
View ArticleParticle Velocity Decay/Slow Down?
Is it possible to have the particle's velocity decay over time? Either in the legacy particle system or the shuriken system? I have a legacy and shuriken particle system resembling fireworks /...
View ArticleAnimated Texture doesn't begin at first frame
Hi, I've been having this problem several times over several projects. I use the Extended Animated Texture script from [here][1] Problem is: I instantiate prefabs with this script, but the animation...
View Article