【3Dゲームエンジン】Unity総合スレッド27 [転載禁止]©5ch.net
■ このスレッドは過去ログ倉庫に格納されています
0736名前は開発中のものです。
2015/12/19(土) 16:31:29.02ID:Al2EB1wKspeed=1fを10fまで0.5ずつ上げたいのですが・・・
float speed=1f;
void Start () {
}
void Update () {
if (Input.GetKey (KeyCode.UpArrow)) {
transform.Translate(transform.forward* speed);
{
for(float speed=1f ;speed <10f; speed+=0.5);
}
現在こうなっていますorz
■ このスレッドは過去ログ倉庫に格納されています