Can't get text file created by me (JavaScript)
Welcome, I have a problem with getting text files I created. I wanted my game to find all text files that contain language data, because I want my game to be multilingual. I created files...
View ArticleNeed Help Coding ERROR; BCE0044: expecting (, found 'OnGui'
On this script there's an Error I couldnt find it, but it says its on the last function OnGui Please help me Thanks Error: Expecting (, found 'OnGUI' ';' expected. Insert a semicolon at the end. (Line...
View ArticleUnity 5 returns strange errors when compiling JavaScript code
Hello! Please help! I have successfully made a level with a Terrain, a Rigidbody FPS Controller from Standard Assets -> Characters and some other GameObjects. I needed a saving system - so I have...
View ArticleHow to detect when two gameObjects collide by name {java, 2d}
I've got a box & piece of terrain called "Area1grass". The box has a 2d box collider & the terrain has a 2d polygon collider. Both colliders are set to be triggers. This script below moves the...
View ArticleWhy isn't my teleport on collision script working?
I have a script using two variables: one for the position after contact, and one that's a String to identify the tag. I place it on my Player and assigned it to activate when collision with an object...
View ArticleMy script does not work each time i enter Unity unless i add it to the object...
I there i am pretty new at unity and found this script online and made a few edits(Javascript, and i do not understand the math behind it): #pragma strict function Update () { var pos =...
View ArticleHow to address JavaScript erro in UnityLoader.ja
Hello, I have created a WordPress Plugin "HoweScape Unity3d WebGL". If I use the development build it works. If I use the Release build I get a couple of different errors messages. I get a pop up box...
View Articlehow to add Flappy bird High Score
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class GameControl : MonoBehaviour { public static...
View ArticleI got this error when i create a new js script without touch in it What is it...
![alt text][1] [1]: /storage/temp/90989-screen-shot-2017-03-31-at-014137.png
View ArticleI got this error when i create a new JS script and open it
![alt text][1] [1]: /storage/temp/91032-screen-shot-2017-03-31-at-014137.png
View Articleدائما؟؟؟؟؟؟؟توكيل كاريير+صيانة كاريير +بالعين السخنة (01286629661)
خدمه عملاء.كاريير .بالعين السخنة<< خدمه عملاء’كاريير’بالعين السخنة<<’012227713067 4_4_2017 توكيل كاريير صيانة كاريير تكييف كاريير خدمة عملاء كاريير 01227713067 توكيل كاريير صيانة كاريير...
View Articleكاريير@01286629661@صيانة كاريير+بالعين السخنة@من هنا
توكيل كارير صيانة كارير تكييف كارير خدمة عملاء كارير صيانة كارير تكييف كارير خدمة عملاء كارير توكيل كارير خدمة بيع وصيانة أجهزة تكييف كارير موزع معتمد 01227713067_01286629661_01111747277 مميزاتنا قطع...
View ArticleEditing an AI patrolling script
I found an AI patrolling script (JS) that uses GameObjects as waypoints for a car game I am making for a project at college. The script is exactly what I wanted except for the fact that it has some...
View ArticleI want my character to enter and exit car with animation
I really do not know how to do it, like I have the car enter and exit script works fine but I need an animation where the character opens the door sits and closes it same when he getting out. I can get...
View ArticleUnityScript to C# Conversion
Recently I have been coding in JavaScript(UnityScript) but have realized that C# has far greater support and I am also paranoid that JavaScript may become obsolete/depreciated like Boo apparently did....
View Articleobject reference not set to an instance of an object JavaScript
First off, i am very new to unity so it may be obvious what the problem is. I am trying to make my cube box collider switch of when a button it pressed. My Code: > var Item1 :...
View ArticleHi,so i'm new to unity and I need help on delaying an object
So i'm trying to remake pong for practice and I want to delay the ball from moving when the game starts. I want to delay it by 3 seconds and this is what I have now (written in unity JavaScript) var rb...
View ArticleJavascript-C#
Does anyone know what: var gos : GameObject[]; gos = GameObject.FindGameObjectsWithTag ("SaveObject"); is in c#? Sorry, I know this is probably very simple, but I am having trouble experimenting in...
View ArticleHow Do I change this Script to be JS, Anyone can help me, Please. I am still...
Animator anim; AudioSource enemyAudio; ParticleSystem hitParticles; CapsuleCollider capsuleCollider; bool isDead; bool isSinking; void Awake () { anim = GetComponent (); enemyAudio = GetComponent ();...
View ArticleChanging the colour of my shaders through GUI Colour palette?
So i'm struggling to find anything online which shows me how I can add a on screen colour palette so the user can change the albedo colour channel on the shaders to anything they want. This can easily...
View Article