java script problem
Hello, I have a problem in my script, the console say that i have to insert a semicolon but i already did this but it keep saying it. this is the script, can you help me? public var MovementSpeed :...
View Article";" expected. Insert a semicolon at the end
Hi, mi name is Mickey, and im a noob with java, so, i have a problem with this code function Start () { int Bullets; Bullets = 8; } function Update () { if(Input.GetMouseButtonDown(0)) { if (Bullets...
View ArticleInsert the texture means the URL
Hello i want insert the texture on plane means the URL. I use this script in C# but the system don't error returns: using UnityEngine; using System.Collections; using System.IO; public class...
View Articleinsert a semicolon at the end??
hello Unity Community, i have this wierd problem with my healthpack script that it ask me to insert 2 semicolon where one is already placed? anyways heres the script: function OnTriggerEnter(other :...
View ArticleInsert a String in Gui.TextField text?
Hi , say i have a TextField string that sais: "a= Mathf.Cos(a)+b;" And a Gui button called "sin" If i select Mathf.Cos and press gui button sin, i want it to insert the string: "Mathf.Sin" on the area...
View ArticleCustom Inspector - break link between duplicate fields?
I created a custom inspector that lets me duplicate an entry in a list. I have two problems. (1) Entry 2 points to entry 1 in memory, so if I make a change to entry 1 the change is also made to entry...
View ArticleDo statically batched meshes need to have the same pivot point(not position)?
I am talking about when you want to move an object, you see the tool that changes its transform, whether it's rotation,move,scale - it is at the same POINT in space. Now, if that move tool is in a...
View ArticleInsert enum breaking existing inspector values
Enums are great, but unfortunately when used as fields that can be changed in the inspector they are completely dependent on the order of the enum in the code. I find it curious that Unity does not...
View ArticleWhy does Unity keep crashing when I try to insert a Model
Unity will launch smoothly and run fine but as soon as I try to insert a Model or even just simple water it closes me out of the program and launches a bug report submitter..
View ArticleInsert Semicolon error
When i make a script some times it says insert a semicolon but there already is a semi colon on the line it tells me to put it on so can someone help me out with this problem? here is the code: #pragma...
View Articleunityscript equivalent of javascript splice?
I want to insert two items at position n in an array. In javascript I would use splice to do this. Is there an equivalent in unityscript for the unityscript javascript-like array type.
View ArticleWhy the UV maping in 3DWings cant be seen in Unity?
Hello there.I have an issue; i made succesfuly my model in 3DWings and UVmaped it in 512x512.bmp.When i insert that model in Unity i can see the object with the design and everything exept the...
View Articleinsert semicolon error
Hi guys, ima new to Unity and trying to finish all the tutorials, but there is a error that i don't know how to fix? Can you guys help me out? It says insert a semicolon which is what i did, but it...
View ArticleHow to insert terrain, and other objects?
I'm new to Unity, and I am trying to make a simple 2D game, but I am not sure how to insert terrain, sky or characters, could someone give me a sort of walk-through? I'm sorry if I sound stupid, but...
View ArticleAdd edge onto plane?
I'm trying to figure out how I can insert an edge into a plane at runtime. I plan to be able to draw a line across the plane and have an edge inserted there. Here are two images clearly demonstrating...
View Articlei want to insert name on character
Before ![alt text][1] After ![alt text][2] [1]: /storage/temp/28960-aname1.png [2]: /storage/temp/28961-aname.png when i click the play button, i want to insert name on a character as second screenshot...
View ArticleJavascript Enum Write List
enum Item { ID, Name }; var pItem : Item; function Start () {/* Item apple = new Item(); apple.ID = 1; apple.Name = "Apple";*/ var apple; pItem.ID = 1; pItem.Name = "Apple"; } Editor tells me that the...
View ArticleInfinite runner, insert customized text inside coins and obstacles
Hi: I wonder if anybody know how to insert customized text inside coins and obstacles in the infinite runner game. I need to insert different text inside each coins and obstacles. I have tried many...
View ArticleList Insert() returns Argument is out of range
I have an empty GameObject list, and when I try to add items to it using Insert(), i get an error saying: `ArgumentOutOfRangeException: Argument is out of range. Parameter name: index` public class Box...
View Article