Skip to content

Instantly share code, notes, and snippets.

@Buravo46
Last active January 3, 2016 12:59
Show Gist options
  • Save Buravo46/8466226 to your computer and use it in GitHub Desktop.
Save Buravo46/8466226 to your computer and use it in GitHub Desktop.
【Uniy】設定した任意のAnimation Clipを追加し、動かすスクリプト。
#pragma strict
var clip : AnimationClip;
function Start () {
animation.AddClip(clip, clip.name);
animation.Play(clip.name);
}
function Update () {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment