Broken-Code-Format Questions
1
I need to read several lists of 2D coordinates into a data collection, like a Dictionary for example, from a text file.
I can make the file into any format (it´s originally an SVG but I made an ETL th...
Ovida asked 24/12, 2012 at 15:47
1
I keep encountering a SIGBUS error when working with a simple pathfinding script. I've found the function giving me the problem but I'm not sure where to begin troubleshooting within.
The Unity Editor...
Underbid asked 17/5, 2010 at 5:25
1
Solved
So, i didnt really find anything that helped me in other threads, so here is myproblem:
I want to generate random Quests for my game so i created one script that is not on an object containing the fol...
Blairblaire asked 4/10, 2015 at 11:16
1
Solved
Okay, I guess I'll make it sounds way more complicated than it actually is but here it goes:
I have a built-in array of Strings and then want to retrieve and manipulate the according variables on the ...
Manifold asked 21/2, 2011 at 0:20
1
Solved
hi, I've problems downloading text files (with .htm extension) from url inside webplayer.
All works on standalone version
I've implemented WWWLoader script:
`using System;
using System.Collections;
us...
Hegarty asked 2/10, 2011 at 18:10
1
Solved
I have 3 prefabs named "blackout" being instantiated in the position of other 3 gameObjects I positioned and rotated myself in the editor. This works fine.
However, after the 3 blackouts are instantia...
Serbocroatian asked 24/1, 2011 at 6:46
1
Solved
I have a gameobject with an toggle which I want to execute a function on change:
levelItem.GetComponent<Toggle>().onValueChanged.AddListener(SetSelectedLevel(levelList*.Number));*
public void S...
Antibes asked 25/11, 2014 at 0:10
1
Solved
Hi, I have an integer that is something like this:
var verts : int[];
var vertices = mesh.vertices;
for (int i=0; i<vertices.Length; i++) {
verts _= vertices*;*_
_*}//this is only an example*_
_*`...
Kissie asked 27/1, 2011 at 1:21
1
Solved
I have been working on converting this Js to C# but i got a few last bugs I cant get out some one please help me.
JS version
var driveForce: float;
var hoverHeight: float;
var thrustForce: float;
var...
Smokeless asked 24/4, 2013 at 15:49
1
Solved
Can anyone take a look at this script, it used to work and gave a random number for each zone, but I'm trying to change it so it wont give the same random number twice for a zone.
It's the logic from ...
Parada asked 25/10, 2010 at 19:21
1
Solved
Hello, Object is moving by MoveTowards(transform.position, points[index], speed). But sometimes on path I have a larger cluster of points, thus the object slows down. As you can see on picture, object...
Geller asked 13/12, 2018 at 8:38
1
Solved
Hello, I have a game where I want the heightmap of the terrrain to be changed at runtime by the player, but I cannot get that to work. I have multiple .raw files in the project already that are waitin...
Syllabism asked 9/9, 2016 at 10:37
3
Solved
Hello all,
I was wondering how possible it is to make a scroll list with a header at the top of the scroll list. The point of the header is essentially to act like a catergory or grouping for the scro...
Scaliger asked 22/5, 2013 at 13:55
6
Solved
Hey all,
Basically, I have a box that the player has to be able to collect. When the player “collects” it, the box will actually just instantly move to another spawnpoint, and I’ll also execute scorin...
Doehne asked 2/7, 2014 at 0:9
3
Solved
I want generate a 2d polygonal area from vertice XZ coordinates. Local Y is 0.
Vertices indexed like a closed spline. Spline edges do not intersecting with other edges.
I need a new Triangle calculati...
Treadwell asked 24/8, 2012 at 19:22
4
Solved
hi guys i am trying to get all of the mesh edges(sides- the light blue lines that appear when you select a mesh, the wire frame) each edge is a pair of vertices that form that edge(line, side) and are...
Amphiboly asked 31/10, 2013 at 6:42
7
Solved
Hey Folks. I used the DrawDefaultInspectorWithoutScriptField by JAKJ and it gave me kind of the Idea of creating a custom Inspector, that could inject content where I want without writing everything f...
Engstrom asked 29/4, 2017 at 23:18
3
Solved
I try to replace all materials of an object to make the object transparent.
No problem there with a single material attached to the object:
cachedObject.renderer.material = inReplaceMat;
If I try to ...
Tasteful asked 1/6, 2011 at 13:3
4
Solved
I’d like to register a callback to the OnPointerDown and OnPointerUp events of the UnityEngine.UI.Button(s) in my game to trigger two different sounds for down and up click. However, only the onClick ...
Anastaciaanastas asked 8/8, 2016 at 20:47
2
Solved
I am having a heck of a time with this one. I am using a Spawner which is not a Prefab to Instantiate a bunch of prefab bombs in my scene. When each bomb is diffused I need it to contact the spawner t...
Western asked 18/10, 2017 at 0:39
6
Solved
I want to create a simple editor tool that will:
Combine all selected meshes
Automatically weld/combine verticies that are within 0.0001f of one another
Optimise mesh for best performance
Save as pre...
Subantarctic asked 18/3, 2012 at 11:39
4
Solved
I’m wondering if it’s possible to Generate an enum in an Editorscript?
I have a method in an Editorscript that dynamically creates a string. Let’s say holds the strings “Foo”, “Goo” and “Hoo”. Is it p...
Philomenaphiloo asked 13/4, 2016 at 20:17
5
Solved
I want to make a drop-down in a custom inspector that allows me to select multiple enums from a popup, exactly like the popups you get when selecting a camera’s culling mask, a projector’s “ignore” la...
Gantlet asked 5/2, 2013 at 8:39
2
I am working on a project for college in Unity that involves displaying a very big pointcloud. I have implemented the point cloud as a mesh with 1 vertex per point and no triangles. I want to implemen...
Fairbanks asked 1/12, 2017 at 11:45
2
Solved
Hi guys im trying to implement character speed into my game by determining the amount of taps per second the user does.
Since i cant find anything i could i put together at the docs i went to google i...
Auric asked 19/10, 2014 at 15:37
1 Next >
© 2022 - 2024 — McMap. All rights reserved.