【3Dゲームエンジン】Unity質問スレッド29at GAMEDEV
【3Dゲームエンジン】Unity質問スレッド29 - 暇つぶし2ch676:名前は開発中のものです。
17/06/24 15:20:27.82 LDdl3U/8.net
>>664
元のソースの
IEnumerator commandInputControl()
の中身を
StartCoroutine("confirmCommand");
while (true){
//command
if(commandEnable){
getAxis();
getFire();
}else{
inputCommands += " ";
}
yield return null;
}//end While
に書き換えて
IEnumerator confirmCommand(){
以下も加えると
confirmCommandコルーチンバージョンがstartによって実行開始される
って話だと思うよ
void confirm.. はいらないのでメソッドまるごと消すニダ


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