• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Width

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

tonytopper answered

Most efficient way to get the current screen width of 1 world point.

Dec 30, '20 worldspace·width·screenspace

1 Reply

0 Votes

avatar image

Fattie commented

How do i set the width/height of a UI element?

Nov 10, '20 ui·width

5 Replies

4 Votes

avatar image

Julia-Chama published

localPosition.y returns wrong value

Sep 2, '20 c#·panel·height·localposition·width

1 Reply

2 Votes

avatar image

Ahsente asked

Door Width Gets Smaller When Rotated

Aug 10, '20 rotation·door·width·doors

0 Replies

0 Votes

avatar image

samf1111 answered

How do I get the literal width of a RectTransform?

Jul 20, '20 gameobject·width

6 Replies

7 Votes

avatar image

ThePCJakub commented

Resizing orthographic camera to fit 2d sprite on screen

Jun 27, '20 camera·2d·scale·orthographic·width

1 Reply

5 Votes

avatar image

Dhaiku commented

How to change the Width and Height in the script C#? (New Gui Unity 4.6 beta)

Jun 11, '20 c#·gui·ui·height·width

2 Replies

1 Votes

avatar image

Kadjai commented

Getting the width of UI text inside a layout allways 0.

Jun 10, '20 ui·recttransform·width

1 Reply

1 Votes

avatar image

Arissd answered

Sprite slicing problem

May 19, '20 sprite·parameters·spritesheet·height·width

1 Reply

0 Votes

avatar image

PacoBarba commented

How to find width and height of game object, Unity2D

May 15, '20 c#·recttransform·height·resize·width

2 Replies

3 Votes

avatar image

Dijjo10 edited

I have problems with the Camera.ortographic to adapt the view to screens with different resolutions.

May 12, '20 2d·mobile·screen resolution·width·orthographic camera

2 Replies

0 Votes

avatar image

Hellium answered

How would I connect the width of an image (in rect transform) to an int?

Apr 18, '20 transform·health·connection·recttransform·width

1 Reply

0 Votes

avatar image

gawynross asked

Line Renderer How to move individual keys

Mar 26, '20 c#·linerenderer·width·keys·between

0 Replies

0 Votes

avatar image

gawynross answered

Line Renderer Keys don't work Closed

Mar 25, '20 linerenderer·animationcurve·width·keys

1 Reply

0 Votes

avatar image

gawynross asked

Line Renderer how to move individual keys

Mar 25, '20 in Help Room

0 Replies

0 Votes

avatar image

gawynross commented

Line Renderer Keys don't work

Mar 25, '20 in Help Room

1 Reply

0 Votes

avatar image

veanhart asked

Get the x-axis and width of the rendered UI Image and NOT the values of the rect transform.

Mar 2, '20 ui image·recttransform·aspect ratio·width·x-axis

0 Replies

2 Votes

avatar image

unity_6deBw_dYkk9DAg asked

how to move camera using finger swipe by using right half of screen width,how to move camera using finger swipe in half portion of screen

Feb 15, '20 screen·swipe·camera movement·width·half

0 Replies

0 Votes

avatar image

AntonQvarfordt commented

Getting a sprites size in pixels

Feb 4, '20 sprite·width

2 Replies

3 Votes

avatar image

Ash-Blue answered

rect.Contains cant accept rects with a negative width and height?

Jul 20, '19 c#·rts·height·width

4 Replies

1 Votes

avatar image

maxb12 asked

WebGL - find out vieport size (x,y)

May 15, '19 webgl·viewport·height·html·width

0 Replies

0 Votes

avatar image

RavenFelman answered

How can I make the game Screen to fit resolution

Mar 25, '19 resolution·screen·height·width·fit

2 Replies

0 Votes

avatar image

RadonRaph answered

Keep screen width instead of height for resolutions

Jan 6, '19 resolution·height·width·ratio

1 Reply

0 Votes

avatar image

mishacolbourneff asked

Adjusting the transform width to match wrapped text (TextMeshPro)

Jan 3, '19 text·textmesh·layout·width·wrapping

0 Replies

0 Votes

avatar image

White_Roses answered

RectTransform - how to change height and width

Oct 31, '18 in Help Room

1 Reply

0 Votes

avatar image

GMihai commented

Set width and height of 2D gameobject in PIXELS

Aug 15, '18 android·transform·scale·width·pixels

0 Replies

0 Votes

avatar image

gabrimo commented

Screen.width additional variable

Jul 22, '18 width

1 Reply

0 Votes

avatar image

MaxGuernseyIII commented

Unity not dividing correctly C# camera pixel width & height

Jul 16, '18 c#·camera·height·width·divide

1 Reply

0 Votes

avatar image

IGameArt edited

TextureParameter, get width?

Jul 16, '18 in Help Room

0 Replies

0 Votes

avatar image

HZ51 commented

LineRenderer End Width Bug

Jul 2, '18 linerenderer·reflection·mirror·laser·width

2 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

height c# screen size ui sprite scale resolution gui recttransform texture camera text 2d linerenderer image gameobject rect android guitexture resize bounds transform keys position
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges