Quantcast
Channel: Questions in topic: "parser"
Browsing latest articles
Browse All 108 View Live

minijson pars

hi, I'm trying to create a parser with minijson class for this json string...

View Article



Efficient script parser

I'm in the middle of making a text parser, and I'm stuck on a problem. I need it to be able to skip spaces between text if a condition is set (if statement). The parsing process is a for loop that...

View Article

Error cs8025 script (parser error) How i can fix this?

using UnityEngine; using System.Collections; public class LanternaSlender : MonoBehaviour { public Light spotLightFL; private Ray rayToInteract; private RaycastHit hitInteract; public float...

View Article

String segment comparator

I've worked a little bit with creating language parsers using c# completely outside of unity before, but I now i'm writing a little language parser inside of unity and I need to know if there is a way...

View Article

Unexpected Symbol `:' expecting :

Trying to create a simple cube object with my script based on [this script reference][1]. [1]: http://docs.unity3d.com/Documentation/ScriptReference/GameObject.CreatePrimitive.html Here's my code:...

View Article


XML parser, how to get to 1 of many elements with the same name.

I have an XML file like this one:.............................. How to get to specific in many of them. Im using System.xml Thanks.

View Article

parser error? NpcDialog Script [pretty simple though...]

Hi! Tom Adamson posted an awesome, simple NPCDialog tutorial on Youtube ( https://www.youtube.com/watch?v=-UBQ5jd-j7Y ) I copied his exact script, but I get an unexpected symbol error, a parser error...

View Article

PC RSS Feed Get Xml Data Works , but not on android?

Hi guys , I have some code at the minute to load an xml document from an RSS Feed and it is currently working on my PC , but not when I load it into android?? anyone know why this could be? XmlDocument...

View Article


Parser Error in For Loop

This one is (hopefully) a very simple question, as I just need an extra set of eyes. Can anyone spot the parser error in the code below? All variables are properly defined and the original instance of...

View Article


Parsing Error with {s Ok.

Hi, I recently downloaded an open source old proyect from internet, just to discover it was created with unity 4, so many of the scripts were outdated, I managed to fix most of the errors, except one....

View Article

help please

its probably simple but im new to coding so. Assets/movement.cs(9,12): error CS1519: Unexpected symbol `void' in class, struct, or interface member declaration using UnityEngine; using...

View Article

WWW.string doesnt return the page html as expected

I'm attempting the building of a stack based html parser.. #pragma strict public var url: String = "http://www.yahoo.com"; var www: WWW; var a=0; function Start() { www = new WWW(url); } function...

View Article

Math Parsers for Unity 5.1.4 and .NET 2.0 or Mono for Unity

Has anybody used Math Parsers with Unity before. I tried several but they don't seem to be compatible with .NET 2.0? On the other hand is there some build in function to calculate mathematical...

View Article


How to parse SAMI file in unity?

I want to make subtitle. I should read the file of SAMI format and put it into TextAsset. How can I do this??? + I want to know are there any SAMI parser ?

View Article

How to convert string to Expression ? Using string in text file as formulas...

I'm using Unity with C#. Creating a resource management game. I need an Index system. ie. Food Happiness index, Food Variety idex. Each index would have different formulas. I don't want to hardcode...

View Article


External XML Parser

Hi everyone, I have a problem. I know method of internal xml parser however I want **external xml parser script** for C#. I hope you to help me for this topic. Thank you.

View Article

Parser Error Unexpected symbol `m_MovementAudio'

I am working on the 3D "Tanks" tutorial and ran into some parser errors while making the TankMovement code. The errors showed up under "private void EngineAudio()" public float m_Speed = 12f; public...

View Article


How can I get this code to recognize coll in my update function?

using UnityEngine; using System.Collections; public class Ninja : MonoBehaviour { float speed = 7.0f; // Use this for initialization void Start () { transform.position = new Vector3 (2, 8, -5); } //...

View Article

Strange issue with the B83 expression parser

I'm using the wonderful Expression Parser created by @Bunny83 as-is with no modifications (yet): http://wiki.unity3d.com/index.php/ExpressionParser What I'm trying to do is set it up so that the parser...

View Article

Getting a parser error in my level editor in my bubble shooter?

using UnityEngine; using System.Collections; using UnityEditor; using System; using System.IO; public class LevelEditor : EditorWindow { private static LevelEditor window; private int maxRows; private...

View Article

Make the compiler evaluate a string as a chunk of code to be compiled?

I want to create a method which will take ANY variable type as an argument. And by any I mean user-defined types, so it could be a very flexible method that can be reused anytime. Kind of: static...

View Article


UV tiling with already made coordinates.

Hi. I am making FBX parser in runtime and faced again the problem. FBX has information about vertices coordinates, IDs of those vertices how to make polygons (PolygonVertexIndex), UV coordinates, and...

View Article


GeoJSON parser in C# for Unity 3D - problem with import

Hi all, I was trying to test this GEOJSON parser but I am getting these errors. Is there any way to import this library into Unity? I simply moved it to the Asset folder.....

View Article

JSON Parse Errors: Get Line Numbers

I'm building a game where all the data is stored externally in JSON. This data tends to break constantly, and when it does, It only tells me which file failed to parse, not which line the failure...

View Article

B83 Expression parser problem

Hi ! Newbie here =) I am creating a calculator, using the Expression parser of @Bunny83 : http://wiki.unity3d.com/index.php/ExpressionParser When i want to compute 3+4*5, and change f.e the value 4 to...

View Article


Naming a scene created with the NewScene function

I used the UnityEditor.SceneManagement.EditorSceneManager.NewScene() function to create a new scene in an editor script. The editor loads the new scene as it should. However, the scene shows up with...

View Article

Conditional expressions parser? How to manage conditions out of a C# script?

This will be more a question about programming in general, than about Unity. But! I would really be very pleased if someone shows me a way how to manage the issue.Assuming we have a LightBulb class. It...

View Article

Encyclopedia System

Hello, this is my first time posting, so I apologize if this question is structured incorrectly. I am planning on making a game similar to the classic [King of Dragon Pass][1] and its sequel [Six Ages:...

View Article

Bunny83 Expression Parser errors on some computers

I'm using a math expression parser made by @Bunny83 to create paths for enemies. I cannot find the version I'm using online (a friend got it from somewhere), so [here][1]'s a very similar one. An issue...

View Article



how to solve webgl.loader.js:1 Unable to parse Build/webgl.framework.js.br...

I have deployed an app in webgl from a storage account but I have problems with the cdn server configuration and it is not compressing I have problems with the accept-encoding: br![alt text][1] [1]:...

View Article
Browsing latest articles
Browse All 108 View Live




Latest Images