これは私のプロジェクトの私のコードです
using UnityEngine;
using Cinemachine;
public class CameraCollider : MonoBehaviour {
public void OnTriggerExit(Collider other) {
Debug.Log("Test");
}
}
Cinemachine パッケージを使用しています。これは私が得るエラーです:
Assets\Scripts\CameraCollider.cs(2,7): error CS0246: The type or namespace name 'Cinemachine' could not be found (are you missing a using directive or an assembly reference?)
これまで私は試しました
- Rider の再インストール
- プロジェクト ディレクトリの Rider ファイルの削除
- .idea ファイルの削除