レス書き込み
スレへ戻る
写
レス栞
レス消
【ゲームエンジン】Unityなんでも質問スレpart9
PC,スマホ,PHSは
ULA
べっかんこ
公式(スマホ)
公式(PC)
で書き込んでください。
名前
メール
引用切替:
レスアンカーのみ
>>577 > Assets\preyer.cs(23,42): error CS1001: Identifier expected > > このエラーメッセージが出ていて、何となくプログラムのスペルミスみたいなことは分かるんですが、どこを直せばいいのか分かりません………… > これがプログラムです…よければお答えしてくれると幸いです > using System.Collections; > using System.Collections.Generic; > using UnityEngine; > public class preyer : MonoBehaviour > { public float speed = 1.0f; > // Start is called before the first frame update > void Start() } > > // Update is called once per frame > void Update() > { > > if (Input.GetKey(KeyCode.LeftArrow)) > { > if (this.transform.position.x > -4) > this.transform.position += Vector3.left * speed * Time.deltaTime; > } > > if (Input.GetKey(KeyCode.RightArrow)) > { > if (this.transform.position.x < 4) > this.transform.position += Vector3.right * speed * Time.deltaTime;
ローカルルール
SETTING.TXT
他の携帯ブラウザのレス書き込みフォームはこちら。
書き込み設定
で書き込みサイトの設定ができます。
・
ULA
・
べっかんこ(身代わりの術)
・
べっかんこ(通常)
・
公式(スマホ)
・
公式(PC)[PC,スマホ,PHS可]
書き込み設定(板別)
で板別の名前とメールを設定できます。
メモ帳
(0/65535文字)
上
下
板
覧
索
設
栞
歴
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.011s