Skip to main content

Questions tagged [unityscript]

STOP: this is probably not the tag you want. UnityScript is a deprecated language. For new questions about scripting in Unity, you probably want the tags "Unity" and "C#". Only use this tag for questions about legacy code written in UnityScript, the old JavaScript-like scripting language available until Unity version 2017.2.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
399 views

I want to make a biped character stand on any surface I click on. Surfaces have up vectors of any of positive or negative X,Y,Z. So imagine a cube with each face being a gameobject whose up vector ...
Julian's user avatar
  • 109
4 votes
1 answer
14k views

I'm storing player name and scores in the Unity PlayerPrefs. I'd like to list all the names and scores stored in PlayerPrefs and display a high score page: Is it possible to display all the keys ...
Akari's user avatar
  • 147
0 votes
2 answers
3k views

I'd like to display a GUI text at run time in my game for a second, so I want to know if it's possible to add or remove a GUI label to the scene at run time?
Akari's user avatar
  • 147
0 votes
1 answer
1k views

I've been searched about how to make these fruit to move as the basket movement if it collided with it, and I've been found that if I want to perform this I've to let these fruit to be a child to the ...
Akari's user avatar
  • 147
1 vote
2 answers
4k views

How can a first person object character be made to be the primary viewing camera in unityscript? Do I remove the main camera? or just turn one or the other on/off?
gitright's user avatar
-2 votes
1 answer
291 views

I am applying the following script to first person object: ...
gitright's user avatar
-2 votes
2 answers
535 views

Assets/CircularOrbit.js(11,26): BCE0023: No appropriate version of 'UnityEngine.Transform.RotateAround' for the argument list '(UnityEngine.Vector3, System.Type, float)' was found. Here is what I ...
gitright's user avatar
2 votes
2 answers
14k views

I am trying to reference a game object that was created in the editor and added to the scene (not created dynamically). How can I reference this object in a script added to another gameobject? For ...
gitright's user avatar
1 vote
1 answer
949 views

Unity3d. I am trying to move an object with Camera around a fixed terrain (Mountain), while staying an set distance from its edge. I have the camera set to lookAt the mountain, and I want to circle ...
gitright's user avatar
1 vote
4 answers
2k views

I like the simplicity of unityscript, at same time I also like the plenty of c# library and open source projects. I prefer to put my model/controller/logic flow in unityscript using standard unity3d ...
arachide's user avatar
  • 113
-2 votes
2 answers
292 views

I have the following code set out for a simple animation in Unity: ...
Paul Ferris's user avatar
0 votes
1 answer
3k views

I am working on a 3D Platformer in Unity3D and I need to prevent the player from going through walls. The movement for my player works like this: (A bird-eye-view representation)The areas the player ...
Grey's user avatar
  • 1,127
1 vote
2 answers
10k views

I am bit new to Unity3d. I am fine with any solution either of the scripts. Can we render an image in unity3d (which we have to download from HTTP path)? If yes then how or do you have any reference? ...
Vandana's user avatar
  • 11
0 votes
1 answer
1k views

Can someone guide me as to how can I make an application quit when you press the cancel button of an Alert View in C# code? Thanks I forgot to add that I am trying to quit application on clicking ok ...
Anil's user avatar
  • 21
2 votes
1 answer
2k views

I am trying to make a terrain in Unity move, but im having trouble. Here's the code i have. ...
Battle_Pasture's user avatar
0 votes
1 answer
1k views

I am fairly new to Unity, but picking things up quick. This is actually one of the first problems I have come across that has me stumped. I am trying to print a good amount of components onto my GUI ...
TheNoob's user avatar
  • 163
0 votes
1 answer
615 views

I've been using Monodevelop's current version and Unity 4. I don't get intellisense on the classes I've created but I do have intellisense on classes that are in Unity's framework. Bug or its just as ...
Dr.Denis McCracleJizz's user avatar
4 votes
4 answers
4k views

I am trying to write a simple piece of code in JavaScript where a button toggles the activation of a shield, by dragging a prefab with ...
Marc Pilgaard's user avatar

1
5 6
7
8 9
18