Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@adarapata
Created December 17, 2013 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adarapata/8006220 to your computer and use it in GitHub Desktop.
Save adarapata/8006220 to your computer and use it in GitHub Desktop.
2Dアニメーションのメソッド呼び出しが凄く便利 ref: http://qiita.com/adarapata/items/e132b66dd9cfa1acedd6
public class AnimationObserver : MonoBehaviour {
public Action animationEndNotify;
public void Notify()
{
if(animationEndNotify != null)animationEndNotify();
}
}
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