Answer by podmaster
Hey what version of Unity are you using? Did you know about the new UI system on the upcoming release of unity you can test it on the latest beta 4.6 Here is a tutorial...
View ArticleAnswer by podmaster
Well i decided to give up and just get reference to the pool script for now i don't have so many spawn objects. I leave the code for anyone how is working on pooling Objects as an alternative. I create...
View ArticleAnswer by podmaster
Hey i leave you one script i made for a camera shake effect that is applied when a big spell explodes, maybe it gives you some ideas. It worked for me really nice you can twitch the timing and it has a...
View ArticleAnswer by podmaster
Don't know where to start, first i don't speak perfect english sorry for that heh. What you need is a function to loop from all your objects and when it finds one inactive store it on a variable. You...
View ArticleAnswer by podmaster
Sorry i have updated my unity to the new UI 4.6 so i don't remember exactly how to do it but you should first get the Gui text component then acces the color alpha. var GuiLabel : GUIText;...
View ArticleAnswer by podmaster
Sorry i don't use C# only JS , but you can do this converting the touch cords from screen to world position. Reference: http://docs.unity3d.com/ScriptReference/Camera.ScreenToWorldPoint.html Then...
View ArticleAnswer by podmaster
You can do: Application.LoadLevel (Destination); //FOR EXAMPLE Application.LoadLevel ("PlayScene2"); Remember, in order for this to work you must open the file > build setting and drag and drop the...
View ArticleAnswer by podmaster
I'm really not an expert, but i think there are better ways to do what you are doing. BUT a simple straight solution to this would be to use a multi dimensional Array An array of arrays....
View ArticleAnswer by podmaster
I'm not sure what the problem is, sorry i can't run tests right now. But if you are trying to make your ball jump, i would use AddForce() http://docs.unity3d.com/ScriptReference/Rigidbody.AddForce.html...
View ArticleAnswer by podmaster
I would contain the arm "Player" Object into an empty object which center 0,0,0 were on the exact end of the pen. (Sorry if my English isn't good enough :p) Then every time the player press an arrow...
View Article