unity 调用RegistryKey类找不到引用
Assets\AA.cs(36,9): error CS0246: The type or namespace name 'RegistryKey' could not be found (are you missing a using directive or an assembly reference?)
![](https://img-blog.csdnimg.cn/img_convert/582054d0d215a49251b76b96376eff9e.png)
![](https://img-blog.csdnimg.cn/img_convert/c2079d7aedff0fed136dac809a4cb146.png)
解决方案:
![](https://img-blog.csdnimg.cn/img_convert/1ea14c924989f2d960db743132a67474.png)
![](https://img-blog.csdnimg.cn/img_convert/92c4d41b2f81fc9b0f4e0ca53c99fad8.png)
![](https://img-blog.csdnimg.cn/img_convert/179ee16a473f329dfb7ce2279f83b953.png)
unity 调用RegistryKey类找不到引用
Assets\AA.cs(36,9): error CS0246: The type or namespace name 'RegistryKey' could not be found (are you missing a using directive or an assembly reference?)
解决方案: