Created
April 4, 2014 05:44
-
-
Save kimsama/9968809 to your computer and use it in GitHub Desktop.
did not tried yet but it seems to be a solution to resolve animation event offset problem...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| animTime = Mathf.Round(Animation[myBody.attack1].normalizedTime * 10)/10; | |
| if (animTime >= 0.5f) { | |
| //do something | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment