Quantcast
Channel: Questions in topic: "javascipt"
Browsing all 1875 articles
Browse latest View live

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 Article


Need 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 Article


Image may be NSFW.
Clik here to view.

Unity 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 Article

How 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 Article

Why 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 Article


My 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 Article

How 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 Article

how 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 Article


I 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 Article


I 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 Article

Editing 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 Article


I 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 Article

UnityScript 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 Article


object 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 Article

Hi,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 Article


Javascript-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 Article

How 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 Article

Changing 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
Browsing all 1875 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>