Quantcast
Channel: Latest Questions on Unity Answers
Browsing all 171066 articles
Browse latest View live

Vector4 values disappearing from Array, Unity C# bug?

I've been struggling with what almost seems like a potential bug with C# and Unity. I've built an array of Vector4's that is 16 items in length. I assign the values to each position in the array from 0...

View Article


Converting float to string with time format; sending variables to disabled...

I'm working on a C# script which counts and records the amount of time the player has spent in the game from the start of the game to the end. The script uses three major float variables: - timer -...

View Article


Why is Unity 4.3 so unstable?

I've been really trying to let this slide as there has been some improvements in 4.3 like the more compact UI and you can actually highlight text accurately in the new Monodevelop. Occlusion has also...

View Article

Make water appear round

I'm using unity free version and created a skybox and added water4 from the pro package to my scene. The problem is that at the horizon you can see that the water is a square. How do I make it appear...

View Article

Unable to add texture to self-made imported model.

Hi, I've created a .obj model in a 3rd party application and imported it into Unity. I'm not able to add any of my textures to the object the same way I can add them to unity objects like cubes etc......

View Article


GUI Label Text's blinks on Text Updating

**Hi,** well I'm trying to making that code: http://wiki.unity3d.com/index.php?title=FramesPerSecond with a simple label, but it only shows when the text updates, It seems to blink... What can I do?...

View Article

Trouble setting up an inventory system to interact with game objects.

Hello, i'm trying to implement an invnetory system but having some issues. i made a script basedon some tutorials but am having some trouble when it comes to interact with a game object and making it...

View Article

I can't get my blender file to show up in Unity

So my friend made a model of a house... however, there's one problem. When I export the .blend file as a .fbx and load it up in unity... it doesn't show up. This is how the house looks in blender....

View Article


How to approach aiming/reticule showing for dual wielding functionality?

This is more of a design question than a scripting one. I'm trying to setup dual wielding functionality for a 3rd person game. For single wielding I have one button designated for aiming (RMB) and...

View Article


The AnimationClip must be marked as Legacy and loop

Hi, for my game I'm using legacy animations, I made an animation with the unity animation editor and now I can't make it a legacy animation neither make it not loop. Can you tell me how can I mark it...

View Article

How to make virtual joystick (Windows Store)?

Hello, I need some help - I dont know how to make joystick. My idea is to make button (GUITexture) and programm it for change value of "Vertical axis" to 1 when press. I hope you understand it. I want...

View Article

Why does the 'stretch billboard' setting on the particle system appear to...

I've been using the Shuriken particle system. When I change my particles from 'billboard' to 'stretch billboard' it looks like the particles get sucked in to the particle system before they are...

View Article

Why does Unity render everything twice ?

I used GPU Perf Studio to analyze Unity's draw calls under DirectX11. Remarks : - everything gets drawn twice into a render target the size of the resolution as if transparency is enabled on...

View Article


Visual timer? Like CUT THE ROPE

Hey everyone I'm looking to make a simple time based animation, in which a circle (or a clock) is fully coloured, and eventually as time passes by, it gets empty. A concrete example would be the stars...

View Article

Procedural terrain bigger than I set it, heightmap slightly off

Hello, I'm about to procedurally create a terrain of the size 120x120. My problem is, the end product turns out to be 480x480 Also the height map isn't set right. That little edge isn't supposed to be...

View Article


Mobile blur shader

Hello, i search anywere but don't found blur shader for mobiles. I use ngui, and need when popup is open, background became blured. I use :...

View Article

Accessing another var on another script

this maybe silly, but does we need to change the variable into static var so we can access it from another script? i have 1 script on an object that need to access variable from another script on that...

View Article


FNT fonts import in Unity.

Now has anybody a script for importing and binding to texture *.fnt fonts in Unity? Thnks.

View Article

Unity Animation in 4.3 Tutorial

Hello, Just want to know are there any tutorials for the 4.3 animation system? I have no idea how to use and get started with it? Thanks, Joseph

View Article

Moving line vertices with mouse

Hi, I have an object with line renderer with 2 vertices. I wold like to be able to move/add/remove those vertices at runtime with mouse. How can i do that?

View Article
Browsing all 171066 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>