Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created August 2, 2017 14:52
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 tsubaki/c5e6ddf6c9f77b8dd071d9aabeb5f566 to your computer and use it in GitHub Desktop.
Save tsubaki/c5e6ddf6c9f77b8dd071d9aabeb5f566 to your computer and use it in GitHub Desktop.
SimpleAnimatorの再生
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