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 161425

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
0 answers
239 views

How to make an Inspector field accept references to instances of different classes

I have a variable in my Unity script, and I want to be able to assign to that variable an object of one of two different classes; for instance: [SerializedField] private MyClass1 myClass1; [SerializedField …
Silz's user avatar
  • 37
1 vote
1 answer
161 views

Sprite with hard transition from opaque to transparent shows translucent pixels in Sprite Ed...

Picture from Sprite Editor with a problem: Picture from the graphic editor (everything looks fine): My Unity settings: …
Silz's user avatar
  • 37
0 votes
0 answers
65 views

Unity question about tilemap

So if I planning to make big location like for example Stardew Valley with tile size 32x32, should I make all map and just have it, or should I load tiles as player moves to them. I actually new to th …
Silz's user avatar
  • 37
0 votes
1 answer
318 views

Attach images via script into array unity

I have 3 objects of Image type in game scene. So I need to attach this 3 objects via script into Image array inside of this script. How can I do this? I tried to use GetComponent but they all have dif …
Silz's user avatar
  • 37
0 votes
1 answer
52 views

Instantiate only specific objects in Unity

Here is the situation: I have 10 weapons in my game, in main menu player may choose only two weapons that could take to the game, and this information about two weapons will save in a kind of "invento …
Silz's user avatar
  • 37
0 votes

Instantiate only specific objects in Unity

I found the solution by loading from Resource folder. GameObject weaponOne = Instantiate(Resources.Load("Gun1"), this.gameObject.transform) as GameObject;
Silz's user avatar
  • 37
0 votes
1 answer
1k views

Unity mobile joystick input doesn't react to touch

I created a 3D mobile project, so I used my own joystick script, I also tried joystick from asset store. The problem is that the stick image of joystick doesn't move at all, in this case it's impossib …
Silz's user avatar
  • 37
0 votes
1 answer
2k views

Unity best practices for 3D tilemap

I looked at the forums and found out that it is not recommended to use the terrain system for the mobile platform. So then I decided to have a single plane as a "terrain" with single ground color. But …
Silz's user avatar
  • 37
2 votes
1 answer
510 views

How to store localized text data in Unity?

I need to create a lot of read-only text data. As far as I know storing a lot of data directly in the script is not good, so I need to create a separate json file with ready-made data to load in the g …
Silz's user avatar
  • 37
0 votes
0 answers
245 views

transform.localPosition does not wok in Unity

When im breaking fence GameObject there should pop up scores, so it works fine. But position of pop up scores is too low, im trying to raise it by Vector3 offset on y axis, but it doesn't work. Pop up …
Silz's user avatar
  • 37