unity3d-2dtools Questions

5

Solved

I am using several box colliders on the same GameObject, the question is, is it possible to refer to each of those colliders separately using gameObject.getComponent().enabled = false; Keep in min...
Aquamarine asked 8/5, 2015 at 21:7

2

Solved

I'm trying to search an smart way to create curves like the next one (using Unity3d 2D part (without using mesh collider))) , but i didn't found one Any help would be appreciated.
Vindicable asked 21/9, 2014 at 10:18

3

I have a scrollview.Horizontal and vertical scrollbars are removed because it is ugly and I have space constraint. When I populate items into content of the scrollview as shown in the image I ca...
Ammadas asked 8/12, 2017 at 16:24

4

Solved

Code that generates an error: void Update() { if (Input.touchCount > 0) { RaycastHit2D hit = Physics2D.Raycast(Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position), Vector2.zero); if ...
Lorileelorilyn asked 15/1, 2017 at 10:13

3

Solved

My code below only works for horizontal movement. Shouldn't the vertical movement be working too? I'm just starting out with basic 2D Unity programming: public class Player : MonoBehaviour { //T...
Genius asked 15/10, 2017 at 22:59

2

I have script called PlayerCharacter to control a player on the Unity 2D Platform. It's perfect, working as usual. using UnityEngine; using System.Collections; using System.Collections.Generic; ...
Weissberg asked 30/1, 2014 at 10:56

6

Solved

Please save me from going crazy. No matter how many times I google, I always end up with (usually deprecated) versions of the following code: IEnumerator setImage(string url) { Texture2D texture...
Japanese asked 1/8, 2015 at 19:43

3

So i made my first unity game. I run (play) the scene on unity every thing works fine. (no exceptions or error what so ever). Then i tried to Build & Run the project, but after launching the ga...
Getaway asked 30/5, 2018 at 7:47

4

I am planning to do logging and registration. But I have a problem. I can't make the password InputField became like ***** (censored). And maybe it wouldn't affect your answers but my game will be ...
Nodose asked 24/6, 2015 at 6:5

1

Solved

I'm in the process of creating a 2D game where the player needs to click to shoot. Wherever the mouse cursor is on the screen is the direction to which the projectile will move. I was able to get t...
Cholecalciferol asked 1/12, 2017 at 9:3

2

Solved

When we position UI elements in Unity, we fix the position from Anchor Presets, so that it's position is placed correctly on the canvas. We select top, middle, bottom, stretch and the blue color...
Farnham asked 15/10, 2017 at 15:39

3

Is there any way to communicate with iOS's VoiceOver accessibility native support via Unity3d? We have an application that needs to be accessible, and we are not sure how to go about it. Cre...
Textualist asked 7/3, 2013 at 15:14

3

I am totally new to Unity and I looked some tutorials and I want to make game which has 3 scenes which are 2d and 2 scenes which are 2d. Is this possible to do or I have to treat all as 3d scenes ?...
Metallize asked 18/4, 2015 at 13:0

2

I need to know please if I can save the profiler statistics (http://docs.unity3d.com/Manual/ProfilerWindow.html) and/or Unity Rendering Statistics (the overlay window that shows realtime statistics...
Armillia asked 27/9, 2015 at 15:59

2

Solved

As the title suggests, I have a screen with two canvases. Both literally a copy of each other, but simply having a different layout for my Portrait and Landscape orientations. As and when the orien...
Charlottcharlotta asked 5/6, 2015 at 6:3

2

Solved

Unity's excellent Sprites (Unity's excellent new sprites), among other worthy advantages, are in fact double-sided. In a 2D or 3D use case, you can flip the little bastards around and still see the...
Consignee asked 24/3, 2016 at 16:42

1

My game uses unity 5 new UI system with canvas. The game itself can receive touches to shoot ammos via functions OnMouseDown() on several game objects with 2D colliders indicating touchable areas, ...
Soniferous asked 13/2, 2016 at 14:41

1

Solved

I have a plugin that allows me to access pictures from an Android phones gallery. This gives me a texture of the Texture2D type. I then want to edit it using the GetPixels function, but it is...
Meraree asked 16/1, 2016 at 14:58

2

Solved

Trying to create a 2D game where I need a 2D polygon collider with exact symmetry, so I'd like to set the coordinates by hand/numerically, rather than using a mouse. How can this be done? I suppo...

1

Solved

I want to sort my Sprites using Unitys sorting Layers. I attached a custom Shader to one of my Sprites. Sadly the Sprite with this shader always draws behind the other Sprites disrespecting the sor...
Eckmann asked 24/10, 2015 at 19:5

2

I'm new in Unity and i've realized that it's difficult do a multi resolution 2d game on unity without paid 3rd plugins available on Asset Store. I've made some tests and i'm able to do multi resol...
Bunder asked 11/8, 2015 at 15:3

3

Solved

What are the main differences between Unity 2D project and unity 3D project! Does unity render faster 2D projects than 3D? Or does 2D prefabs/textures require less memory than 3D? Is there an optio...
Diphyllous asked 15/6, 2014 at 10:54

5

Solved

I have googled plenty and only come up with really complicated methods of doing it. I also found the function OnMouseDown() but I haven't been able to make it work. At the moment the sprite activat...
Epochal asked 26/1, 2015 at 8:8

1

Solved

We've run into a strange problem when using Unity3D and iOS8. After about 1 minute there is a large (sometime a bit smaller) hiccup and we can't figure out why. Garbage collection? We spent a few...
Disenthrone asked 10/10, 2014 at 7:6
1

© 2022 - 2024 — McMap. All rights reserved.