Quantcast
Channel: Answers by "Mike 3"
Browsing all 60 articles
Browse latest View live
↧

Answer by Mike 3

You should be able to use seconds.ToString("00") to pad it to two numbers

View Article


Answer by Mike 3

Very often if you're playing right before building, it'll lock the dlls, making it difficult to move them into the build.If that happens, just relaunch unity and build again, without hitting play

View Article


Answer by Mike 3

If you haven't got a camera, it'll generally just show junk (What is in the screen buffer at that time) in built clients - the editor clears the screen buffer so generally masks the problem. I would...

View Article

Answer by Mike 3

You just use the same y value for both vectors: var currentPosition = transform.position; currentPosition.y = leader.position.y; if ( Vector3.Distance( leader.position, currentPosition ) >= distance) {

View Article

Answer by Mike 3

Are you sure it's not an issue with having the Collapse button selected in the console? That'll allow one of each message to be printed, hiding the rest

View Article


Answer by Mike 3

As many games as you want, it's licensed per seat instead

View Article

Answer by Mike 3

In the case you linked, it's an enum, so something like: enum Mode { Spherical, Linear } for declaring the enum, then: var mode : Mode; for the variable declaration which will be shown in the inspector

View Article

Answer by Mike 3

It's nothing to do with Debug.Log - the issue is that Vector3.ToString() gives back a string with 1 decimal place accuracy (ToString being called on any non string object for you). What you could do is...

View Article


Answer by Mike 3

There's two copies of the script on the first person controller object, disable both of them (Get both with GetComponentsInChildren) and it should do what you want

View Article


Answer by Mike 3

Do you need to send the data as POST instead of GET? If not, you could skip on the WWWForm and just do new WWW(requestString) If you do, I guess you could add some (short) simple data into the form so...

View Article

Answer by Mike 3

There's no official word there will be a linux editor or standalone player, but they have mentioned they'll make a linux compatible molehill based webplayer, no word on when that'll be done though

View Article

Answer by Mike 3

You should just be able to use GUI.Label (or GUILayout.Label) for it, changing the style on mouseover

View Article

Answer by Mike 3

You don't need to pay for them, no - everything which comes with Unity is licensed for you to use with your Unity games

View Article


Answer by Mike 3

In your code above, i is already the object you want to destroy the GameObject of, but you're then trying to use it as an index into the listBasically just use i instead, and probably name i better so...

View Article

Answer by Mike 3

You can set the z position on the Transform to set the depth the GUITexture will be rendered at

View Article


Answer by Mike 3

You should be able to use seconds.ToString("00") to pad it to two numbers

View Article

Answer by Mike 3

Very often if you're playing right before building, it'll lock the dlls, making it difficult to move them into the build.If that happens, just relaunch unity and build again, without hitting play

View Article


Answer by Mike 3

If you haven't got a camera, it'll generally just show junk (What is in the screen buffer at that time) in built clients - the editor clears the screen buffer so generally masks the problem. I would...

View Article

Answer by Mike 3

You just use the same y value for both vectors: var currentPosition = transform.position; currentPosition.y = leader.position.y; if ( Vector3.Distance( leader.position, currentPosition ) >= distance) {

View Article

Answer by Mike 3

Are you sure it's not an issue with having the Collapse button selected in the console? That'll allow one of each message to be printed, hiding the rest

View Article
Browsing all 60 articles
Browse latest View live


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