- Home /
2D Character creator ,how can i save current clothes (changes)
Hi i am from Poland and i making 2D game. I have a problem with my character customize system ;/. Look at my scripts Scripts for changing clothes:
#pragma strict
var otherObj : GameObject;
function OnMouseDown () {
otherObj.animation.Play("zakladaniebluzki");
};
1.With this script i can only put on clothes but i cant put this off (reverse an animation) can anyone give me good script to this? 2.When i end customize my character i try animate the main camera (camera go down to other area when you choose your abbilites), but i have problem with it becouse i cant write or find a script with this ;/ (i need a script to play camera animation when i click on the DONE button ;) 3.I need object like a spawner wchich will spawning ready character (clotches,abilities) when player end all customization area. I am waiting for help ;)
That's an awful lot to get for three lines of code that are pretty arbitrary in terms of your goals.
ok dont help me with all but please edit this script that when you click the right button of the animation was played back
Answer by getyour411 · Jan 19, 2014 at 10:21 PM
i need made a new script or add this line to my script?
Your answer
Follow this Question
Related Questions
Character Creator: changeing the Mesh. 1 Answer
2D example: Flip character without moving 0 Answers
2D Character Flip 2 Answers
Changing Direction While In Mid-Air? 1 Answer
Unity HingeJoint2D issues when Flipping ( Negative Scaling ) 1 Answer