Unity is a cross-platform game creation system that focuses on easy art pipeline process. It consists of a game engine and an integrated development environment. The game engine's scripting is built on Mono.

learn more… | top users | synonyms (1)

0
votes
3answers
100 views

“Hold to jump higher” suddenly outputs a much higher jump

I'm programming my first game in Unity and I'd like to make a very controllable jump. The idea is to apply an upward force while the player is still pressing the jump button, and then after some time ...
0
votes
0answers
14 views

Scale Gameobject with defined size in pixels

I'm still new with Unity (5.0.0f4 Personal). I'm working on a simple memory game, three levels with different number of cards to find pairs. I want my game to display cards on different screen sizes ...
0
votes
1answer
32 views

Hierarchical “Select GameObject” Dialog or names with prefixes?

I am attempting to connect a series of teleporters with entrances inside a single scene. Once the player touches a teleporter he is moved to another place. I am doing this by simply connecting two ...
0
votes
0answers
23 views

Unity - UI Mobile - Script Generated buttons/text not seen?

I'm trying to generate some buttons and text dynamically with Unity 5.0 All of my code seems proper. It looks great when I play it in the editor. Everything is generated and placed and sized as I want ...
0
votes
0answers
22 views

Rich Text on InputField breaks Content Size Fitter functionality. Need some help

I'm currently using the input field as a way to make normal(ish) text in Unity. Refer to this question for more detail: How do I go about making a text box that allows for highlight-able and copyable ...
1
vote
0answers
20 views

How do I manually submit a new UI InputField in code?

I need some conditions for submitting the text inside of an Inputfield, however I cannot find a way to do this via code. I was expecting something simple like with WPF or WinForms, but I cannot find ...
1
vote
1answer
29 views

player does not collide with walls unity 5

I just started a new proyect with a personalize first person controller, like arrow move style, it worked, but when I tryed to collide it with walls it did not happen, I tryed adding a capsule, then ...
1
vote
1answer
34 views

How do I go about making a text box that allows for highlight-able and copyable text in the new UI?

I'm trying to make a simple chat system for our games lobby, however I am having issues making a text box that allows for text-highlighting. The Text component does not have interactible text, and the ...
1
vote
1answer
68 views

Can I release the source code of a game created with the personal edition of Unity?

Does the license of Unity Personal allow the publishing of the game's source code? We want to develop a game on a hackathon and publish the code thereafter. Is this possible?
0
votes
1answer
48 views

Generate platforms and move them with same speed

I'm building an infinite runner and have to generate pillars on which the player jumps. There's a minimum and maximum value for how much gap can exist between two pillars. In addition to this, i want ...
2
votes
1answer
25 views

How to check if a test ad is ready

I was going through UnityAds for Unity3D, and came across this setting: AD TEST MODE Force all So as I understood it states that I will be able to see real ads, in test mode, without ...
0
votes
0answers
16 views

Entity interpolation with a Unity listen server

How can this be done? I've implemented client side interpolation but I'm at a loss on how to implement it on a listen server. In order for the listen server player to see the same thing as the ...
0
votes
1answer
71 views

What are the legal issues when using free Unity Assets on a commercial game?

In the unity asset store one can find tons of thousands of assets, a lot of them being distributed for free. When using a free Unity Asset is it implied that you can do anything with it(commercial ...
0
votes
0answers
16 views

Applying Image Effect to specific texture uploaded and not to both texture and background

Hi I was following this script and shader example for brightness, contrast and saturation. I was able to follow along by attaching the C# script to the main camera and the shader to the script object. ...
0
votes
0answers
49 views

Unity3d 5 - default assets RollerBall+MultipurposeCameraRig rotation/tilt problems

I started a new Unity3d 3D project. I imported the Player, Camera and Prototyping assets. I placed a FloorPrototype64x01x64 and scaled it *2 on all axis. I reset it to 0,0,0 position and rotation. I ...
0
votes
1answer
48 views

How to generate objects at specific intervals and make them move with same speed?

I'm creating an infinite runner where character has to jump on randomly generated pillars. The pillars are positioned with a gap between each of them. The gaps are dmin and dmax. In addition to this, ...
0
votes
1answer
28 views

Unity 2d - Destroying foreign object from script + seek explanation about destroying objects

I have simple emmiter which sending enemies toward player in center of screen. Player can shoot missile (also emmiter). I want to destroy enemy AND missile in same time. Here is my code attached to ...
1
vote
1answer
141 views

How do I Rigidbody.AddForce(Vector3) in Unreal Engine?

I am coming from the Unity Engine, and trying to get my feet wet with Unreal Engine 4. I want to add a one-time force to an object. To accomplish this in Unity 5, I would use: void Start(){ ...
0
votes
1answer
31 views

Unity3d Colliders not working on my characters [closed]

I have create 2 characters in maya and imported them in Unity3d. I am able to move and animate them in unity but the characters are not colliding with each others. I have tried all major colliders ...
0
votes
0answers
18 views

vuforia unity how to detect that we have “ lost track of” an object

I'm working on a vuforia project and would like to be aware when vuforia can no longer detect the object in unity. Is there an easy way to write a script that is executed opon loosing track of an ...
0
votes
0answers
50 views

Unity changing texture of RawImage from code

I have a UI element, RawImage, which I would like to change the texture of based on which random number between 1 and 6 is generated. I want to change the picture of the dice, but I don't know how ...
0
votes
5answers
172 views

Coroutine to move to position passing the movement speed?

I'm using this coroutine to move my player to a new position. The problem is that it takes the duration as an argument instead of the speed of the object. Which makes it hard for me to make sure the ...
0
votes
0answers
37 views

Need help solving an acute-triangle to find the distance to the outside of my object

I recently asked a question here: How would I check the range against the entirety of an enemy object, and not just it's transform.position? That was accurately answered, and works perfectly ...
0
votes
1answer
98 views

How to move an 2D character(with animation) to mouse click position in C#?

i am going to develop a simple game called waste collection.In which if i click on a waste the character needs to walk to certain waste and collect it. Startingly the character is in the middle ...
0
votes
2answers
43 views

Is it possible to load local html pages into unity?

Is it possible to open a HTML page inside UNITY, with the page functioning normally?
0
votes
1answer
32 views

How do I get GL.IssueRenderEvent to work on iOS with Unity 5?

I'm trying to get GL.IssuePluginEvent to work, according to this: http://docs.unity3d.com/Manual/NativePluginInterface.html I have a plugin made with this code: extern "C" { void ...
2
votes
1answer
61 views

How to divide sprite sheet, but keeping the in same png?

first post here, but couldn't find an exact answer in your database, so guess I'll have to ask. I want to know how it is possible to create a ".META" file for a .png so you can extract individual ...
6
votes
1answer
69 views

Custom Editor - keep default look but add more

What I would like to know is if there is a easy way using OnInspectorGUI, to replace the inspector with one that includes just one or two additional fields (so that it looks identical to the ...
0
votes
0answers
48 views

How to fix artifacts when using equirectangular 360 panorama photo on sphere

I have a equirectangular 360 panorama photo. I tried to use it as a texture for a default Unity Sphere. The image had artifacts/visible seams, especially near the "poles" of the sphere (north pole and ...
0
votes
0answers
33 views

WebCamTexture.width and height returning 16,16 unless reinitialized

I am trying to store a picture from a camera with WebCamTexture. The function Savepicture(string path) uses a Texture2D to set pixels retrieved from the WebCamTexture class field, I end up getting a ...
0
votes
0answers
9 views

Android app not installing because of more files in streaming asset folder

I have created a game which contains some videos, I have put them in Streaming Assets folder. The main problem is if the number of videos increases more than 6, app will not install else it will ...
5
votes
2answers
157 views

interfacing WiiMote with Unity 5

I am looking for a guide on connecting WiiMote with Unity 5 as an Input device. I found this library here but I do not understand how to install it and what the prerequisites are for it to work.
0
votes
2answers
56 views

Touch through GameObject, best practice

in the game I am doing atm you have an area with monsters. There are two modes to damage monsters : tapping on them casting spells on the ground Tapping and damaging a monster works fine. The ...
1
vote
0answers
79 views

Mega-man 2 Camera help (Unity) [closed]

So I have tried several ways to fix a Mega-man 2 camera without actually figuring out a good way of doing it. So I would love if someone could give me some tips for I could solve this issue. The ...
0
votes
0answers
43 views

Trying to increase the size of a sprite when it touches a pellet in Unity with C#

This is my first game, and I'm trying to keep it simple, so just a simple platformer that works around the size of the player's character, and the character increases in size whenever they consume a ...
1
vote
1answer
36 views

My runtime mesh is not being created where it's vertices are located, need help

I'm trying to create a quad at runtime and I'm encountering an issue where the mesh does not show up in the scene where it's vertices where set. In the following picture you can see the ship, and to ...
0
votes
3answers
64 views

2D Sprites vs UI Image Scripts in Unity

I am doing a 2D casual puzzle where the user can drag and drop some pieces into a board. The pieces are 2 or 3 or 4 tiles. Each tile may have text over the sprite. Target platform: Mobiles and ...
0
votes
1answer
90 views

Unity 5 - Texture/Material rendering issue

I am working on a Minesweeper clone that started as a Unity 4.6 project and ended up as a Unity 5 project. I have cube objects that use Legacy Shaders/Diffuse. I am new to Unity 5, so I am not fully ...
2
votes
1answer
16 views

Inspector stuck on Editor Settings

Probably a silly question, but I'm having an issue where I can't view the properties of an object in the inspector window. It seems to be stuck on "Editor Settings". If I click an object I can't view ...
0
votes
1answer
73 views

How do I make the ui button to move my character? [closed]

How do I make my character move left,right and jump when click ui buttons using this code? using UnityEngine; using System.Collections; public class Player: MonoBehaviour { public float maxspeed = ...
0
votes
0answers
21 views

How do I make Ground Check stop rotating with the character when it rotate? [duplicate]

How do I make my character routice without Ground Check rotating with it, but still follow my character? Code: using UnityEngine; using System.Collections; public class Player: MonoBehaviour { ...
3
votes
4answers
262 views

How to enter a level when touching an object

I am working on a project in Unity 4.6.1f1 and I was wondering how can I make a cube touch another cube to go to the next level (the image below)? ! EDIT: I made a script and put it on the purple ...
0
votes
1answer
31 views

What's the size of library in unity for android?

In unity3d what is the size of library compiled into apk. Is that affect when i make game without any physics(2d or 3d) or when making 2d or 3d game.
0
votes
1answer
32 views

Unity - Scroll Rect shows buttons outside of the rectangle

I have this problem. I'm using a scroll rect to display a series of buttons, but I would make sure that as soon as the buttons (with the scroll rect), come out of a certain area (bounded by a panel), ...
0
votes
0answers
17 views

Character fixed angle? [duplicate]

I want my character to rotate so I turn off fixed angle in Rigidbody 2D, but the problem here is that I can't jump in any other angle except for the angle where I have my groundcheck. Can anyone help? ...
0
votes
1answer
28 views

Unity Xcode Post Build Change Language Dialect

Is it possible to change the C++ Language Dialect setting under Apple LLVM 6.1 - Language - C++ during a post build process in Unity3D? See here: I'm using XCodeEditor, and in the json, i tried these ...
0
votes
1answer
29 views

Send a prefab over network in Unity

I want to instantiate an object on only the server and one client. This means Network.Instantiate is out of the question and I have to instantiate it manually. Since Network.Instantiate takes a ...
-1
votes
2answers
45 views

Where to create scenes? [closed]

I'm starting to develop a 3D game with Unity and 3ds Max. Where do I create levels for my game? Do I create individual objects in 3ds Max and transfer them to Unity, or do I create the whole level in ...
0
votes
2answers
26 views

Unity3d - deploy game to android device off site

I am using Unity3d to develop my game and my friend with android device wanted to test it. I am natively IOS developer and have no knowledge of deploying Android platform. What do I need other than ...
-1
votes
0answers
14 views

How to import scenes from .3ds files into Unity

I am trying to import a 3D project done with 3dsMax into Unity and make it the scene in the game. Is this possible? Any tutorials available?