Created
July 11, 2017 05:05
-
-
Save maco1028/362269993c6be090ea3b76bb2cc0213c to your computer and use it in GitHub Desktop.
アニメーション再生(レガシー)
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
// Use this for initialization | |
void Start () | |
{ | |
Animation anim = gameObject.GetComponent<Animation> (); | |
PlayAnimation (anim); | |
} | |
void PlayAnimation (Animation anim) | |
{ | |
anim.Play (); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment