###unity エラー 質問
unityでボールゲームを作っています。
プログラムを打ち込むとconsoleに
Assets\scripts\paddleScripot.cs(18,43): error CS1026: ) expected
が表示されて プログラムが上手く起動しません
実現したいこと
土台のうえにあるキューブを左右に動かすようにしたいです
エラーメッセージ
error CS1026
このプログラムを打ち込みました
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class paddleScripot : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
} // Update is called once per frame void Update() { transform.position += new Vector3(Input.GetAxis("Horizontal") * Time.deltaTime, Debug.Log(transform.position.x); }
}
試したこと
どこを直せばいいですか?
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。
deltatime , このカンマの後に何か続いてますか