i want to attack and activate a animation, but i have no idea how to do that.
1 Answer
1Yes, just as OrangeLightning said use Animation.Play. So something along the lines of this:
if (Input.GetKeyDown(KeyCode.WhateverKeyYouWantToUse)) {
animation.Play();
}
Good luck! Klep
http://unity3d.com/support/documentation/ScriptReference/Animation.Play.html
– FLASHDENMARK