A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
You could just divide the past time by the total time float startTime; float totalDuration = 5.5f; // tween over five and a half seconds...
All good. I just needed call drawTexture.Apply() after setting it to the material
Hi, I'm modifying a texture using setPixels. As I need to reset the texture back to its original state after modifying it i am copying it to a new...
Hi. How do i set a Untiy windows application to use a OpenGL renderer. Cheers
Figured it out. I had the multiplication the wrong way round. The below code fixes the issue. if(Input.GetMouseButtonDown(0)){ m_mouseIsDown...
Your code suffers from the same issue. When the mouse is pulled down the top of the object is rotated towards the camera. But if the object is...
Hi, I'm using the below code the rotate a game object. The code works fine until the object is pointing backwards then it starts rotating in the...
How do i rotate a game object around in a 5 unit radius.
Hi, im trying to rotate a plane around an axis. I have positioned the plane 5 out to the right and set the rotation to 15 degrees on the y axis....
Hi, I have a prefab that i would like to create 10 instances at runtime (start up) and change the texture on each instance. Where is the best...
Found it. Click on the image in the project viewer then in the inspector select: texture type advanced.
Can someone point to where the Texture Import Settings are located in unity 3. I've looked every where and cant find them.
You could use a quaternion to do the rotation.
If i use url: http://centers.law.nyu.edu/jeanmonnet/images/TL_map-world.jpg i get the error SecurityException: No read...
Even if i change the asset path to: IEnumerator Start() { String imageAssetPath =...
Hi, Ive got major issues. The below code works in the editor and web player. IEnumerator Start() { String imageAssetPath = "file://" +...
Hi, Im trying to add a texture dynamically. The below code works when testing but not in the web player. What am i doing wrong. public...