【3Dゲームエンジン】Unity質問スレッド8at GAMEDEV
【3Dゲームエンジン】Unity質問スレッド8 - 暇つぶし2ch228:名前は開発中のものです。
14/03/22 14:12:08.14 3A38vlrO.net
>>218
ありがとうございます。
そうですね、現状厳しいです。。。

>>220
ご連絡いただきました式をいれましたが、
こういうことでは無いですよね。。。

#pragma strict

var Jumpflg=false;

function Update () {
if(Jumpflg==false){
animation.Play("dance");

if(Input.GetButtonDown("Jump")){
Jumpflg=true;
StartCoroutine("Jumping");
}
}
}
function Jumping(){
animation["dance"].time
animation.Play("jump");
yield WaitForSeconds(1.0);
Jumpflg=false;
animation["dance"].Play()
}


次ページ
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch