Quantcast
Channel: Questions in topic: "unity 5"
Browsing all 13311 articles
Browse latest View live
↧

How To Scale GUI Based On Screen Resolution

How would I scale GUI based on the screen resolution for mobile. I can't find a good video and the unity answers are all in java script and I can't understand it.

View Article


Unity 5.0 buggy shadows

Hey there! I've recently switched from Unity 4.xx to Unity 5.0, therefore I had to update my project as well and everything works fine except for the shadows. It used to look okay even if it was turned...

View Article


AudioSource IsPlaying confusion

When ever I needed an audio to play I wrote it like this: if (!sfx.IsPlaying) { sfx.Play(); } I also have multiple AS on every objects that I want it to make some sounds. However, the problems lies...

View Article

Scripting error, no definition or an extension method.

Wasent sure what was suited best for the title and im still fairly new too coding but heres my error, On line 38 on one of my scripts the type "LifeManager" does not contain a definition for "TakeLife'...

View Article

How to not duplicate game objects on DontDestroyOnLoad?

So I am making a 2D RPG game. When I load a new scene, I have DontDestroyOnLoad() attached to my player script, this is so that my players (soon to be) stats and equipment will not be removed. However,...

View Article


Ball Rolling Forever

Hello, I am learning how to work with unity and I was making a game with a ball that you roll around. It was working fine but when I added sound the project there was a logic error that happened....

View Article

why i can't see ui's anchors?

![alt text][1] I can't see the anchors. The button seems not be child of the panel, if i resize panel there is no change on button. if i change the layer to default now i can see buttons and the panel...

View Article

Video Streaming in Unity 5?

I'm really impressed with the new features of Unity 5, and all the more that it's offered free to independent developers! Whoever should be thanked, thank you. I have a question about video streaming...

View Article


Animation plays automatically

Hi, i'm very new in unity(almost 2 weeks of work) and i have problems with the first(the only animation i created).It's a walking animation on FPS i called walkanimation(surprise) and it's about the...

View Article


Animation plays only once

Hey, i have created an animation and want to call it with a state based machine. In the machine i have set a trigger named "Charge" to call the clip. But the clip only plays once (despite the fact that...

View Article

Unity Global Illumination + Ambient Occlusion + Dynamic shadows

I'm trying to figure out if there is a way to have any sort of baked ambient occlusion while at the same time be able to move the light around in the game at runtime. When I set my light baking to...

View Article

Trouble importing assets in Unity 5

I have a project working perfectly in Unity 4.6. I made a copy of the project and am trying to pull it into Unity 5.1 beta. (I also tried Unity 5.0 but had the same issues). Tons of assets are not...

View Article

webcamtexture makes unity 5 crash

I have a project where i'm projecting my device's camera onto a plane using a webcamtexture. I've had it working before, but with unity 5 it keeps crashing whenever i press the play button. I have the...

View Article


How can I read this code in Unity?

I'm trying to read a cache that contains files I've got the file converter and everything but I'm not trying to read the cache in Unity, there is a folder in Unity which it reaches and it verifies to...

View Article

Do the wheelcolliders have a static/dynamic friction value?

The wheelcolliders in Unity5 are seperate from the normal physics materials, so there is no static or dynamic friction coefficient as with the physics materials. But is such a value calculated under...

View Article


Unity 2D Day/Night

Hi, I hate to ask this question due to the stupidity of it, but there seems to be nowhere online where someone shows how to make a day night cycle in UNITY 2D, not 3D. So I thought we could perhaps...

View Article

Differences between Unity 4.6 and Unity 5 for iOS plugins

Hi guys, I'm in the process of writing up a plugin for a native iOS library to show ads. With Unity 4.6.2f1 this plugin works as expected, however with Unity 5.0.3p4 I encounter a bad access error with...

View Article


Need help with camera to fit to Screen Unity2D

I have recently swapped from Apple Sprite-Kit to Unity (Complete beginner here) and have encountered a camera problem. The problem is that I am unable to fit my camera to the map that I have created in...

View Article

Making a compass point towards the closest enemy

We have been making a pirate game, and to make it easier for the player to find the enemies, we plan to have a part of a compass point towards the closest enemy. To do that, we have placed a small cube...

View Article

Navmesh problem with characters rotation in the terrain

i'm caught in a problem, i need navmesh in my project, But navmesh rotation is not working as the rigidbody rotation, the navmesh rotation isn't rotating the object in terrain, The objects are with...

View Article
Browsing all 13311 articles
Browse latest View live


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