Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 5379

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.

0 votes

How to make the transform rotate backwards but in FixedUpdate instead in coroutine?

How about using WaitForFixedUpdate instead of WaitForEndOfFrame? You should put the yield before your code to ensure your code is called in FixedUpdate. Also, I find tracking the elapsed time easier t …
idbrii's user avatar
  • 987
1 vote

Method of compressing tile data

My friend suggests to use an enum and represent each block with a number and work with bytes, reasoning that numbers are faster to compare If you write your files as utf8, then you are effectively d …
idbrii's user avatar
  • 987
0 votes

How to handle bloat that comes with derivative ScriptableObjects?

I think your question is two parts: how do I deal with a massive number of subclasses and how do I deal with many data objects. I'll address the first question. To further clarify, I have "Pickups" t …
idbrii's user avatar
  • 987
0 votes

Camera doesnt track player properly on different resolution

In unity, you can use Cinemachine to define a region on the screen and the camera will move to keep your object inside that region. I think the Framing Transposer is the behaviour you're looking for. …
idbrii's user avatar
  • 987
1 vote

Interacting with UI with a locked cursor?

the player has to look at the buttons and click So you have a fixed reticule and you need to aim and click at buttons? Add colliders and raycast to detect hits on the buttons. You can put all of you …
idbrii's user avatar
  • 987
2 votes

How can I get Steam username and avatar image from leaderboard?

SteamUtils.GetImageRGBA(avatar_id, image, (int)(width * height * 4)); avatar = new Texture2D((int)width, (int)height, TextureFormat.RGBA32, false, true); avatar.LoadRawTextureData(image); // Unity
idbrii's user avatar
  • 987
1 vote

Fill Animation component during OnValidate()

I wouldn't recommend OnValidate for adding editor controls. Instead, you can use a CustomEditor to add a button to your component's Inspector display (I think you could even make one for the Animation …
idbrii's user avatar
  • 987
0 votes

How can I resize a game object using single drag handle?

I'll give a brief answer to complement Fabio's great but in-depth answer: you need to set target.transform.localScale of the object to change its size. To determine the scale, you need some kind of fr …
idbrii's user avatar
  • 987
0 votes

Loading .PNG file and using it for UnityEngine.UI.Image

If you load files with WWW, it creates the texture for you. You can use WWW to load files from disk. The downside is that you need to wait for WWW to complete so a coroutine is required (not necessari …
idbrii's user avatar
  • 987
0 votes

Unity - Autoscroll when selecting buttons out of viewport

If you want to use BaseInputModule's movement (which could support gamepad with an appropriate InputModule), you'll want to modify verticalNormalizedPosition based on the position of your selected obj …
idbrii's user avatar
  • 987