Is there any C# preprocessor defined for the new UI, available form unity 4.6 on wards?
I want to use the legacy ui as well as the new ui. New ui I am plannign to use via prefab.
Is there any C# preprocessor defined for the new UI, available form unity 4.6 on wards?
I want to use the legacy ui as well as the new ui. New ui I am plannign to use via prefab.
There’s no preprocessor symbol, nor is any necessary. You can just use the standard ones such as #if UNITY_4_6, since the new UI was introduced in Unity 4.6.