Answer by khenkel
I think you might want to start with the Unity documentation: [GUI Basics Tutorial][1] [GUI.Button reference][2] I'm sorry for only providing links, but I think writing code for you or extensively...
View ArticleAnswer by khenkel
First of all you can write: if (DentroEscalerilla) { // Stuff } You don't need to double compare it with "== true". About your problem: How big is the cube? Does it fill the entire ladder "area"? If...
View ArticleAnswer by khenkel
Well, in general your player can collide with pretty much anything (not only bullets), so the best way is to only perform code on specific bullets. You have the Collision parameter for this. Something...
View ArticleAnswer by khenkel
Simple answer: Physics.Raycast() ITSELF is NOT related to the screen resolution. Better answer: Your problem is probably related to your "overray" Ray object (eg. when you're creating it via...
View ArticleAnswer by khenkel
I assume you mean the "Static" flag at the top of the Unity Inspector. Enabling "Static" only affects things such as Lighting or built-in Navigation systems. See [this link][1] for more info. It does...
View ArticleAnswer by khenkel
Unity always creates its own internal copy of the particular file, which might be much smaller than the original file (eg. with PSD files). But this highly depends on the file type you are using. You...
View ArticleAnswer by khenkel
This doesn't depend on the scene your material is used in. Just create a public Material _material; in your script, assign the particular material in the Inspector, and change its properties via code....
View Article