Created
August 2, 2017 14:52
-
-
Save tsubaki/c5e6ddf6c9f77b8dd071d9aabeb5f566 to your computer and use it in GitHub Desktop.
SimpleAnimatorの再生
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class PlaySample : MonoBehaviour { | |
[SerializeField] SimpleAnimator animator; | |
void Start () | |
{ | |
animator.CrossFade ("animationclip name"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment