Answer by Mr. Mud
Have you tried changing the "Format" of the image? At the bottom of the import settings, you can select the max size of the image and in which format it should be saved. I assume it states...
View ArticleAnswer by Mr. Mud
Currently the code tests wether the left mouse button is down on the moment the mouse enters the colider of whatever it is you have attached this script to. So by keeping that button pressed when...
View ArticleAnswer by Mr. Mud
The issue here might come from something different than the "WaitForSeconds(5)". You said that you tried putting a Debug in either function which can be called, but neither of them printed anything....
View ArticleAnswer by Mr. Mud
There is no reason to use scripts to solve this issue. However, depending on the circumstances, the solution might be slightly different. If only the text needs to change color (and not the background...
View ArticleAnswer by Mr. Mud
It seems like you tried a lot of ways to turn the object invisible. But where exactly did you place these statements? Some functions get called automatically by Unity, while others won't. Also, when...
View ArticleAnswer by Mr. Mud
This small piece of code should keep the camera in the bounds you can define in the inspector. After you have moved the object, this code makes sure that the position on each axis is between the bounds...
View ArticleAnswer by Mr. Mud
For this to work, the javascript code needs to be compiled before the booscript is compiled. This is done by placing all (or most) javascripts in the folder "Standard Assets" or a subfolder of it. Your...
View ArticleAnswer by Mr. Mud
The solution to the looping animation is by turning off the toggle "Loop Time" in the animation which starts aiming. This way, once it reaches the end of the animation, the object will remain in...
View ArticleAnswer by Mr. Mud
If you intend to add items to an array, or remove them, it might be a better idea to use a [List][1]. A list has a dynamic size (you can easily add and remove items), and most functionality is already...
View ArticleAnswer by Mr. Mud
Don't know whether this issue has already been resolved for the original poster, but here goes: The animtor seems to be trying to animate something which is called "Window"; it looks like your...
View ArticleAnswer by Mr. Mud
From what I can make out of the image, the Clearflags of your camera are either set to "Depth only" or "Don't Clear". Changing it to "Solid Color" or "Skybox" should solve this issue. Or have another...
View ArticleAnswer by Mr. Mud
My assumption is that setting the enabled value of GUI to false prior to drawing your slider. Then if the other elements are not supposed to be locked, set it back to true. The newer GUI sytem included...
View Article
More Pages to Explore .....