Created
December 17, 2013 15:00
-
-
Save adarapata/8006220 to your computer and use it in GitHub Desktop.
2Dアニメーションのメソッド呼び出しが凄く便利 ref: http://qiita.com/adarapata/items/e132b66dd9cfa1acedd6
This file contains 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
public class AnimationObserver : MonoBehaviour { | |
public Action animationEndNotify; | |
public void Notify() | |
{ | |
if(animationEndNotify != null)animationEndNotify(); | |
} | |
} |
This file contains 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
public class AnimationObserver : MonoBehaviour { | |
public Action animationEndNotify; | |
public void Notify() | |
{ | |
if(animationEndNotify != null)animationEndNotify(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment