Hello, is there any option’ to switch DirectX eg. 9 to 11 at Runtime(By code)?
You can do so in
UnityEngine.Editor but not manually at runtime. Unity does have built-in fallbacks if the runtime hardware does not support the specified build version. You should probably code in your own fallbacks to properly deal with things in the event that the user does not support some DX11 feature you’re using.
SystemInfo.graphicsDeviceVersion = directXText.text;
I know it’s read only but why is this code don’t work. Any idea?