Обнаружение Unity во время выполнения ⇐ C#
-
Anonymous
Обнаружение Unity во время выполнения
We have a C# library for multiple platforms and we are looking for a way to detect that it is a Unity application at runtime.
I have seen most approaches are focused on compilation directives, but that won't help because we are generating only one universal C# binary for all platforms.
Is there a straightforward way to sense that at runtime?
Источник: https://stackoverflow.com/questions/780 ... at-runtime
We have a C# library for multiple platforms and we are looking for a way to detect that it is a Unity application at runtime.
I have seen most approaches are focused on compilation directives, but that won't help because we are generating only one universal C# binary for all platforms.
Is there a straightforward way to sense that at runtime?
Источник: https://stackoverflow.com/questions/780 ... at-runtime
Мобильная версия