SteamVR和VRTK导入报错:
Assets/VRTK/Scripts/Interactions/Highlighters/VRTK_MaterialColorSwapHighlighter.cs(146,66): error CS0122: `UnityEngine.Texture.Texture()’ is inaccessible due to its protection level
解决办法:
1.将 new Texture()那一行注释掉
2.将new Texture()改为new Texture2D(),由于Texture2D()需要两个返回值,所以你要输入两个任意值,如new Texure2D(10,20)。