Unity 2DでC#を使っています。
最初の、using UnityEngineするところで、
「型または名前空間名 'UnityEngine'が見つかりませんでした。
usingディレクティブまたはアセンブリ参照が不足しています。」
というエラーが出ます。
どうすればいいのでしょうか。
よろしくお願いします。
ソース全文:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletMoving : MonoBehaviour {
public float speed; public float angle; public Vector3 vec1; // Use this for initialization void Start () { } // Update is called once per frame void Update () { vec1 = transform.Rotate(Vector3.up, 45) * speed; transform.Translate (vec1 * Time.deltaTime); }
}

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。